⤺ color picker
0
Reddit

#040506 Color Hex

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


The hex color code #040506 is a shade of blue-cyan. In a RGB color space it is composed of 1.57% red, 1.96% green and 2.35% blue. In HSL notation it has 210° hue, 20% saturation and 2% lightness. The process color (CMYK) is combination of 33.33% cyan, 16.67% magenta, 0% yellow and 97.65% key (black). The closest short hexadecimal code of #040506 is #000.

Color information

  • #040506 is a shade of blue-cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 33.33%
    • Magenta: 16.67%
    • Yellow: 0%
    • Key color - black: 97.65%
  • In the HSL model coordinates are:
    • Hue: 210° degrees
    • Saturation: 20%
    • Lightness: 2%
  • The values in the RGB color space are:
    • Red: 4 (1.57%)
    • Green: 5 (1.96%)
    • Blue: 6 (2.35%)

Conversions

Hex:
#040506
CMYK:
C: 33.33%, M: 16.67%, Y: 0%, K: 97.65%
RGB:
R: 4, G: 5, B: 6
HSL:
H: 210°, S: 20%, L: 2%

Color harmonies

#040506 color HTML and CSS codes

Example CSS code:

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

#040506 text/font color

How to set font color?

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

Font color is #040506.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#040506 background color

How to set background color?

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

Background color is #040506.

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