Number and expression for a color are equivalent. The numbers and expressions to enter for some common colors. Numbers and expressions to enter for the common TokenExampleReleasedThemeableActive / Hover state of BRANDA.rgb(1, 68, 134)014486BRAND.2.6.0YesPrimary page background colorrgb(238, 244, 255)eef4ffBRAN.2.6.0YesVariant of BRAND that is accessi.rgb(26, 27, 30)1a1b1eBRAND.2.6. This web color is described by the following. Is the same as entering the number 16776960. FFFFFF Hex Color for the Web has the RGB values of 255, 255, 255 and the CMYK colour values of 0, 0, 0, 0. To specify cyan, entering the expression RGB( 0, 255, 255) The expression returns the value 16776960. Notice that the expression specifies the maximum for greenĪnd blue (255) and 0 for red. 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. In the illustration you can see how the color is composed of the three components: red (top),green (bottom right) and blue (bottom left). The mixing ratio of these colors results in the displayed hue in the middle of the overlaps. Where the amount of each primary color (red, green, and blue)įrom the amounts of red, green, and blue specified. The breakdown of the color into the RGB color system: of 255 maximum color components, 255 red, 225 green and 85 blue. 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