摘要 |
A method to adjust colors of CRM application's GUI skin, based on operating system's Color scheme is disclosed. Color code of the operating system's color scheme is fetched from registry entry of the operating system and is saved as base color. This color code is converted from ARGB format to RGB format and further converted from RGB format to HSL format. Different Luminance values are set for various elements of the CRM application such as header, menu bar, dialog box, selected item, work area etc., to provide different brightness and legibility to different elements of GUI. Modified color code is again converted back to RGB format and assigned to various pixels of GUI skin whereby CRM application is rendered with new color scheme similar to operating system's color scheme. If the CRM user subsequently switches to a different color scheme, CRM application automatically adapts the color scheme matching with the operating system. |