Instant properties: blue

The instant property blue corresponds to the blue component stored within a color operand.

Declaration

uint8 color.blue

Discussion

The read access to this property returns the blue component of a color operand. The write access modifies the blue component of a color operand. Other components (red, green and alpha) are not affected by the modification. The blue property is valid in range 0 .. 255 with the value 255 representing the maximal intensity. For example:

var color c = #FFFF007F; // Read the blue value var uint8 result = c.blue; // result = 0 // Modify the blue value c.blue = 200; // c = #FFFFC87F

Usage in Inspector

When working with Inspector you can easily access, evaluate and modify the blue component. For this purpose select in Inspector the desired color property or attribute and click on the small triangle on its left side to expand and display the subordinated components: