Color Hex Logo

#04218c Color Hex

#04218C
(4,33,140)
0 Favorites   0 Comments

Color spaces of #04218c

RGB 433140
HSL0.630.940.28
HSV227°97°55°
CMYK 0.970.760.00   0.45
XYZ5.32763.007025.1106
Yxy3.00700.15930.0899
Hunter Lab17.340724.4945-73.7177
CIE-Lab20.071935.8702-60.4556

#04218c color RGB value is (4,33,140).

#04218c hex color red value is 4, green value is 33 and the blue value of its RGB is 140. Cylindrical-coordinate representations (also known as HSL) of color #04218c hue: 0.63 , saturation: 0.94 and the lightness value of 04218c is 0.28.

The process color (four color CMYK) of #04218c color hex is 0.97, 0.76, 0.00, 0.45. Web safe color of #04218c is #003399. Color #04218c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00100001 10001100
Octal 4 41 214
Decimal 4 33 140
Hex 4 21 8C

RGB Percentages of Color #04218c

%2.26
%18.64
%79.10

CMYK Percentages of Color #04218c

%97
%76
%0
%45

Triadic Colors of #04218c

#04218c #8c0421 #218c04

Analogous Colors of #04218c

#04218c #2b048c #04658c

Monochromatic Colors of #04218c

#04218c

Complementary Color

#04218c #8c6f04

#04218c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#04218c Color Preview on White Background

Lorem ipsum dolor sit amet.

#04218c Color CSS Codes

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

#04218c Text Font Color

<p style="color:#04218c">Text here</p>

This sample text font color is #04218c
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.


#04218c Background Color

<div style="background-color:#04218c">
Div content here</div>

This div background color is #04218c


#04218c Border Color

<div style="border:3px solid #04218c">
Div here</div>

This div border color is #04218c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(4,33,140, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #04218c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #04218c;
  -webkit-box-shadow: 1px 1px 3px 2px #04218c;
  box-shadow:         1px 1px 3px 2px #04218c; }

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #04218c


Comments

No comments written yet.

Please login to write comment.