{{tag>Manuals How_To Reports Documents}} [<10>] ====== How to print an element in different colors depending on some conditions ====== Sometimes the same element may be shown with different properties (for example, in different colors) depending on some conditions – for example you can show the account balance in red if it is less than, say, 100 dollars and in green otherwise. This can be achieved by defining a conditional element in the layout of the report. The element will print the text in different colors depending on the conditions - see the “[[docs:2500_config_apps:4200_report_designer:0300_edit_elements|Reports]]” and “[[docs:2500_config_apps:4200_report_designer:0300_edit_elements:0900_conditional_elements|Editing Conditional Element]]” sections for more details.