The following expression specifies the brightest cyan: The following statements show the calculation: red + 256* green + 256*256* blue Maximum amounts of blue and green in the formula, which is indicatedīy the number 255 for each. Wanted to create the most saturated (bright) cyan, you would use To create cyan, you use blue and green, but no red. Where the amount of each primary color (red, green, and blue)įrom the amounts of red, green, and blue specified. The formula for combining color values into a number is: red + 256* green + 256*256* blue You can specify the number explicitly or by using anĮxpression that includes the RGB ( r, g, b)įor the numbers and expressions that specify common colors, You specify a color by specifying a number that represents Sybase WorkSpace 2.5 > Sybase WorkSpace 2.5 Documentation > Web Application Development > Develop > Managing DataWindow Content > Highlighting Information in DataWindow Objects Specifying colors