As long as the font size and line height is correct, using a dark gray font color works great. It’s easier on the eyes and improves readability if done properly. That’s what I think at least. Dark Blue Gray #708090 rgb (112,128,144). 2017.01.07: Added 'Hex Code + Text' output option. 2014.01.08: Added a search box to the preset list. 2013.08.25: Added a bunch of color presets. 2013.08.25: Added the 'Submit as Preset' option and Result Display option. Also changed layout. 2013.04.28: Altered the footer and some small edits. Range('A1').Font.Color = RGB(255, 0, 0) Example 2: Set Cell A1 back color to red. Range('A1').Interior.Color = RGB(255, 0, 0) Example 3: Set Cell A1 border color to red. Range('A1').Borders.Color = RGB(255, 0, 0) Excel VB color. The simplest way to apply color is using the VB color name, you don’t have to remember which number represents.
Bellow you can find our recommended color palette, textured backgrounds and the fonts that will ensure consistency between your app's GUI and the other many example apps' GUIs published in the Qt website. There are also examples of how to use each of them.
- 1Recommended Color Palette
Recommended Color Palette
We recommend:
Gray Font Color Code
- Use primarily the grays
- Use the other colors only to accent a particular feature/item in your demo/app
- Avoid using gradients, especially multi color gradients, use solid colors instead
- Avoid detailed and colored textured backgrounds or use one of our 3 suggestions
- Avoid aliased/jaggy graphics
Gray palette
Double dark gray | Dark gray | Medium gray | Regular gray | Light gray | Pale gray | White |
HEX #1e1b18 | HEX #35322f | HEX #5d5b59 | HEX #868482 | HEX #aeadac | HEX #d7d6d5 | HEX #ffffff |
RGB 30, 27, 24 | RGB 53, 50, 47 | RGB 93, 91, 89 | RGB 134, 132, 130 | RGB 174, 173, 172 | RGB 215, 214, 213 | RGB 255, 255, 255 |
Color palette
Dark green | Medium green | Light green | Dark blue | Blue | Violet | Purple |
HEX #006325 | HEX #328930 | HEX #80c342 | HEX #14148c | HEX #14aaff | HEX #6400aa | HEX #ae32a0 |
RGB 0, 99, 37 | RGB 50, 137, 48 | RGB 128, 195, 66 | RGB 20, 20, 140 | RGB 20, 170, 255 | RGB 100, 0, 170 | RGB 174, 50, 160 |
Red | Yellow |
HEX #b40000 | HEX #e0c31e |
RGB 180, 0, 0 | RGB 224, 195, 30 |
Textured backgrounds
Coming soon.
Recommended fonts and font sizes
Css Font Color Gray
In addition to the above recommendations, we also suggest a few simple guidelines regarding text and headers:
- Use a sans-serif system font at 24 pt, Bold, for headers
- Use a sans-serif system font at 14 pt, Regular, for body text
- Use at least 8 pixel margin around text elements