/ HALion Developer Resource / HALion Macro Page / Resources /

Color

(Since HALion 7.0)

Description

This resource allows you to define colors that can be used wherever colors can be assigned, e.g., in controls or other resources.

Properties

PopertyDescription
NameThe name of the Color resource.
RedDefines the amount of red in the color. The number 0 signifies no representation of the color and 255 signifies the highest possible concentration of the color.
GreenDefines the amount of green in the color. The number 0 signifies no representation of the color and 255 signifies the highest possible concentration of the color.
BlueDefines the amount of blue in the color. The number 0 signifies no representation of the color and 255 signifies the highest possible concentration of the color.
AlphaDefines the opacity of the color from 0 (transparent) to 255 (opaque).
#Allows you to specify the color as a hex color code in the format RRGGBBAA.