⤺ color picker
0
Reddit

#040508 Color Hex

Hex color #040508, RGB(4, 5, 8) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #040508 is a shade of blue. In a RGB color space it is composed of 1.57% red, 1.96% green and 3.14% blue. In HSL notation it has 225° hue, 33.3% saturation and 2.4% lightness. The process color (CMYK) is combination of 50.00% cyan, 37.50% magenta, 0% yellow and 96.86% key (black). The closest short hexadecimal code of #040508 is #000.

Color information

  • #040508 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50.00%
    • Magenta: 37.50%
    • Yellow: 0%
    • Key color - black: 96.86%
  • In the HSL model coordinates are:
    • Hue: 225° degrees
    • Saturation: 33.3%
    • Lightness: 2.4%
  • The values in the RGB color space are:
    • Red: 4 (1.57%)
    • Green: 5 (1.96%)
    • Blue: 8 (3.14%)

Conversions

Hex:
#040508
CMYK:
C: 50.00%, M: 37.50%, Y: 0%, K: 96.86%
RGB:
R: 4, G: 5, B: 8
HSL:
H: 225°, S: 33.3%, L: 2.4%

Color harmonies

#040508 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #040508; }
.setBackgroundColor { background-color: #040508; }

#040508 text/font color

How to set font color?

<p style="color:#040508">Font color is #040508.</p>

Font color is #040508.

Compromise in colors is grey.
- Edi Rama

#040508 background color

How to set background color?

<div style="background-color:#040508">Background color is #040508.</div>

Background color is #040508.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore