Color Hex Logo

#042840 Color Hex

#042840
(4,40,64)
0 Favorites   0 Comments

Color spaces of #042840

RGB 44064
HSL0.570.880.13
HSV204°94°25°
CMYK 0.940.380.00   0.75
XYZ1.73431.91365.1284
Yxy1.91360.19760.2180
Hunter Lab13.8333-1.8295-12.2972
CIE-Lab15.0271-2.1045-18.7327

#042840 color RGB value is (4,40,64).

#042840 hex color red value is 4, green value is 40 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #042840 hue: 0.57 , saturation: 0.88 and the lightness value of 042840 is 0.13.

The process color (four color CMYK) of #042840 color hex is 0.94, 0.38, 0.00, 0.75. Web safe color of #042840 is #003333. Color #042840 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00101000 01000000
Octal 4 50 100
Decimal 4 40 64
Hex 4 28 40

RGB Percentages of Color #042840

%3.70
%37.04
%59.26

CMYK Percentages of Color #042840

%94
%38
%0
%75

Triadic Colors of #042840

#042840 #400428 #284004

Analogous Colors of #042840

#042840 #040a40 #04403a

Monochromatic Colors of #042840

#042840

Complementary Color

#042840 #401c04

#042840 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#042840 Color Preview on White Background

Lorem ipsum dolor sit amet.

#042840 Color CSS Codes

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

#042840 Text Font Color

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

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


#042840 Background Color

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

This div background color is #042840


#042840 Border Color

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

This div border color is #042840


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #042840


Comments

No comments written yet.

Please login to write comment.