⤺ color picker
0
Reddit

#040000 Color Hex

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


The hex color code #040000 is a shade of red. In a RGB color space it is composed of 1.57% red, 0% green and 0% blue. In HSL notation it has 0° hue, 100% saturation and 0.8% lightness. The process color (CMYK) is combination of 0% cyan, 100% magenta, 100% yellow and 98.43% key (black). The closest short hexadecimal code of #040000 is #000.

Color information

  • #040000 is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 100%
    • Yellow: 100%
    • Key color - black: 98.43%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 100%
    • Lightness: 0.8%
  • The values in the RGB color space are:
    • Red: 4 (1.57%)
    • Green: 0 (0%)
    • Blue: 0 (0%)

Conversions

Hex:
#040000
CMYK:
C: 0%, M: 100%, Y: 100%, K: 98.43%
RGB:
R: 4, G: 0, B: 0
HSL:
H: , S: 100%, L: 0.8%

Color harmonies

#040000 color HTML and CSS codes

Example CSS code:

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

#040000 text/font color

How to set font color?

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

Font color is #040000.

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

#040000 background color

How to set background color?

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

Background color is #040000.

Compromise in colors is grey.
- Edi Rama