Color Hex Logo

#040228 Color Hex

#040228
(4,2,40)
0 Favorites   0 Comments

Color spaces of #040228

RGB 4240
HSL0.680.900.08
HSV243°95°16°
CMYK 0.900.950.00   0.84
XYZ0.45480.22242.0264
Yxy0.22240.16820.0823
Hunter Lab4.71598.9615-22.1753
CIE-Lab2.00899.9713-21.9513

#040228 color RGB value is (4,2,40).

#040228 hex color red value is 4, green value is 2 and the blue value of its RGB is 40. Cylindrical-coordinate representations (also known as HSL) of color #040228 hue: 0.68 , saturation: 0.90 and the lightness value of 040228 is 0.08.

The process color (four color CMYK) of #040228 color hex is 0.90, 0.95, 0.00, 0.84. Web safe color of #040228 is #000033. Color #040228 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00000010 00101000
Octal 4 2 50
Decimal 4 2 40
Hex 4 2 28

RGB Percentages of Color #040228

%8.70
%4.35
%86.96

CMYK Percentages of Color #040228

%90
%95
%0
%84

Triadic Colors of #040228

#040228 #280402 #022804

Analogous Colors of #040228

#040228 #170228 #021328

Monochromatic Colors of #040228

#040228

Complementary Color

#040228 #262802

#040228 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#040228 Color Preview on White Background

Lorem ipsum dolor sit amet.

#040228 Color CSS Codes

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

#040228 Text Font Color

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

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


#040228 Background Color

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

This div background color is #040228


#040228 Border Color

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

This div border color is #040228


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #040228


Comments

No comments written yet.

Please login to write comment.