Color Hex Logo

#04021f Color Hex

#04021F
(4,2,31)
0 Favorites   0 Comments

Color spaces of #04021f

RGB 4231
HSL0.680.880.06
HSV244°94°12°
CMYK 0.870.940.00   0.88
XYZ0.31910.16821.3120
Yxy0.16820.17730.0935
Hunter Lab4.10126.7113-16.0963
CIE-Lab1.51936.5227-15.6459

#04021f color RGB value is (4,2,31).

#04021f hex color red value is 4, green value is 2 and the blue value of its RGB is 31. Cylindrical-coordinate representations (also known as HSL) of color #04021f hue: 0.68 , saturation: 0.88 and the lightness value of 04021f is 0.06.

The process color (four color CMYK) of #04021f color hex is 0.87, 0.94, 0.00, 0.88. Web safe color of #04021f is #000033. Color #04021f contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00000010 00011111
Octal 4 2 37
Decimal 4 2 31
Hex 4 2 1F

RGB Percentages of Color #04021f

%10.81
%5.41
%83.78

CMYK Percentages of Color #04021f

%87
%94
%0
%88

Triadic Colors of #04021f

#04021f #1f0402 #021f04

Analogous Colors of #04021f

#04021f #13021f #020f1f

Monochromatic Colors of #04021f

#04021f

Complementary Color

#04021f #1d1f02

#04021f Color Preview on Black Background

Lorem ipsum dolor sit amet.

#04021f Color Preview on White Background

Lorem ipsum dolor sit amet.

#04021f Color CSS Codes

.mybgcolor {background-color:#04021f; } 
.myforecolor {color:#04021f; }
.mybordercolor {border:3px solid #04021f; }

#04021f Text Font Color

<p style="color:#04021f">Text here</p>

This sample text font color is #04021f
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#04021f Background Color

<div style="background-color:#04021f">
Div content here</div>

This div background color is #04021f


#04021f Border Color

<div style="border:3px solid #04021f">
Div here</div>

This div border color is #04021f


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,2,31, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #04021f; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #04021f;
  -webkit-box-shadow: 1px 1px 3px 2px #04021f;
  box-shadow:         1px 1px 3px 2px #04021f; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4,2,31, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #04021f">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #04021f;
  -webkit-box-shadow: 1px 1px 3px 2px #04021f;
  box-shadow:         1px 1px 3px 2px #04021f;">
Div content here</div>

This div box has shadow with color #04021f


Comments

No comments written yet.

Please login to write comment.