|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Custom ColorsThe easy guide to custom colors. You get colors on a computer screen by combining different values of Red, Green, and Blue phosphors (RGB) on your computer monitor (or LCD screen). If you are bored with those primary colors, you can select a custom color from the combo box, and that will display the color form, and if you click the “Define Custom Colors” you get a dialogue box to work with. But what if you are using a formula? You can specify custom colors in a form by using the Color (red, green, blue) function. Each of the arguments of this function is a number between 0 and 255 to indicate how much of that color to use. But what are the values for a specific color? That is where the Custom color palette can help. As well as letting you select a color from the palette, it tells you what the RGB values are for that specific color. We could, for example, select a color with a value of Red=156, Green=19 and Blue=159. We could then use those numbers in a conditional formatting formula. Make sure you don't get carried away with colors, or your reports will look amateurish. Think about the purpose of the report and how colors can enhance that report by supporting that purpose. So how can you use colors? In the section expert, you can set a background color on a section. This can be an effective way to highlight a colored band for column headings. But one effect you may not want is that the band goes all the way across the page. If you want a colored band across the report, but would like it to be narrower, we have a solution.
This can be a very effective formatting technique to add some color to your report. You want to use the formatting to accomplish such goals as:
Avoid common color usage errors
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects. |