Color encyclopedia

#04040c Color Information

In a RGB color space, #04040c hex color is composed of 1.6% red, 1.6% green and 4.7% blue. Whereas in a CMYK color space, it is composed of 66.7% cyan, 66.7% magenta, 0% yellow and 95.3% black. It has a hue angle of 240 degrees, a saturation of 50% and a lightness of 3.1%. #04040c color hex could be obtained by blending #080818 with #000000 . Closest websafe color is: #000000 .


#04040c Color Conversion

The hexadecimal color #04040c has RGB values of R:4, G:4, B:12 and CMYK values of C:0.67, M:0.67, Y:0, K:0.95. Its decimal value is 263180.

Hex triplet 04040c #04040c
RGB Decimal 4, 4, 12 rgb(4,4,12)
RGB Percent 1.6, 1.6, 4.7 rgb(1.6%,1.6%,4.7%)
CMYK 66.7, 66.7, 0, 95.3
HSL 240°, 50, 3.1 hsl(240,50%,3.1%)
HSV(HSB) 240°, 66.7, 4.7
Web Safe 000000 #000
XYZ 0.16, 0.139, 0.366
xyY 0.24, 0.209, 0.139
CIE-LAB 1.257, 1.129, -3.071
CIE-LCH 1.257, 3.272, 290.178
CIE-LUV 1.257, -0.111, -1.536
Hunter-Lab 3.731, 1.119, -3.209
Binary 00000100, 00000100, 00001100

#04040c Color Analysis

R-G-B component

Color Schemes with #04040c

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color

Alternatives to #04040c

Below, you can see some colors close to #04040c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

#04040c Preview

Text with hexadecimal color #04040c

This text has a font color of #04040c.

<span style="color:#04040c">Text here</span>
#04040c background color

This paragraph has a background color of #04040c.

<p style="background-color:#04040c;">Content here</p>
#04040c border color

This element has a border color of #04040c.

<div style="border:1px #04040c;">Content here</div>
CSS codes
.text {color:#04040c;}
.background {background-color:#04040c;}
.border {border:1px solid #04040c;}
.text-shadow {border:1px solid #04040c;}

Shades and Tints of #04040c

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #04040c is the darkest color, while #fbfbfe is the lightest one.

Tones of #04040c

A tone is produced by adding gray to any pure hue. In this case, #080808 is the less saturated color, while #01010f is the most saturated one.