⤺ color picker
0
Reddit

#040102 Color Hex

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


The hex color code #040102 is a shade of red-magenta. In a RGB color space it is composed of 1.57% red, 0.39% green and 0.78% blue. In HSL notation it has 340° hue, 60% saturation and 1% lightness. The process color (CMYK) is combination of 0% cyan, 75% magenta, 50% yellow and 98.43% key (black). The closest short hexadecimal code of #040102 is #000.

Color information

  • #040102 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 75%
    • Yellow: 50%
    • Key color - black: 98.43%
  • In the HSL model coordinates are:
    • Hue: 340° degrees
    • Saturation: 60%
    • Lightness: 1%
  • The values in the RGB color space are:
    • Red: 4 (1.57%)
    • Green: 1 (0.39%)
    • Blue: 2 (0.78%)

Conversions

Hex:
#040102
CMYK:
C: 0%, M: 75%, Y: 50%, K: 98.43%
RGB:
R: 4, G: 1, B: 2
HSL:
H: 340°, S: 60%, L: 1%

Color harmonies

#040102 color HTML and CSS codes

Example CSS code:

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

#040102 text/font color

How to set font color?

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

Font color is #040102.

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

#040102 background color

How to set background color?

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

Background color is #040102.

Compromise in colors is grey.
- Edi Rama