Posts tagged as:

brightness

The following example shows how you can convert a color from it’s HSB (Hue/Saturation/Brightness) format to standard RGB (Red/Green/Blue) format using the static HSBColor.convertHSBtoRGB() method.

Full code after the jump.

[click to continue…]

{ 1 comment }

In a previous example, “Modifying a color’s brightness in Flex 4″, we saw how you could modify a color’s brightness in Flex 4 by using the static HSBColor.convertRGBtoHSB() and HSBColor.convertHSBtoRGB() methods and the brightness property.

The following example shows how you can modify a color’s saturation in Flex 4 by using the static HSBColor.convertRGBtoHSB() and HSBColor.convertHSBtoRGB() methods and the saturation property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can modify a color’s brightness in Flex 4 by using the static HSBColor.convertRGBtoHSB() and HSBColor.convertHSBtoRGB() methods and the brightness property.

Full code after the jump.

[click to continue…]

{ 1 comment }