= Bval =
== Syntax == :int Bval(int rgb) == Arguments == :rgb ::Either a 32-bit RGB triple or a 32-bit RGBA quadruple; in either case, the red, green and blue channels are represented as eight bit values, as is the alpha channel in the RGBA form. == Return == :A value in the range 0 to 255 inclusive. == Description == :The return value represents the value of the blue channel, extracted from the triple (or quadruple). == Example == :blue = Bval(fgColor); // Gives the blue channel value from the current foreground color == Also see == == Comments == :Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too. |