⤺ color picker
0
Reddit

#040c07 Color Hex

Hex color #040c07, RGB(4, 12, 7) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #040c07 is a shade of green-cyan. In a RGB color space it is composed of 1.57% red, 4.71% green and 2.75% blue. In HSL notation it has 142.5° hue, 50% saturation and 3.1% lightness. The process color (CMYK) is combination of 66.67% cyan, 0% magenta, 41.67% yellow and 95.29% key (black). The closest short hexadecimal code of #040c07 is #000.

Color information

  • #040c07 is a shade of green-cyan.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 66.67%
    • Magenta: 0%
    • Yellow: 41.67%
    • Key color - black: 95.29%
  • In the HSL model coordinates are:
    • Hue: 142.5° degrees
    • Saturation: 50%
    • Lightness: 3.1%
  • The values in the RGB color space are:
    • Red: 4 (1.57%)
    • Green: 12 (4.71%)
    • Blue: 7 (2.75%)

Conversions

Hex:
#040c07
CMYK:
C: 66.67%, M: 0%, Y: 41.67%, K: 95.29%
RGB:
R: 4, G: 12, B: 7
HSL:
H: 142.5°, S: 50%, L: 3.1%

Color harmonies

#040c07 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #040c07; }
.setBackgroundColor { background-color: #040c07; }

#040c07 text/font color

How to set font color?

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

Font color is #040c07.

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

#040c07 background color

How to set background color?

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

Background color is #040c07.

Compromise in colors is grey.
- Edi Rama