Color Hex Logo

#2a579c Color Hex

#2A579C
(42,87,156)
0 Favorites   0 Comments

Color spaces of #2a579c

RGB 4287156
HSL0.600.580.39
HSV216°73°61°
CMYK 0.730.440.00   0.39
XYZ10.36389.708932.7803
Yxy9.70890.19610.1837
Hunter Lab31.15914.8423-40.5635
CIE-Lab37.31489.0658-42.1220

#2a579c color RGB value is (42,87,156).

#2a579c hex color red value is 42, green value is 87 and the blue value of its RGB is 156. Cylindrical-coordinate representations (also known as HSL) of color #2a579c hue: 0.60 , saturation: 0.58 and the lightness value of 2a579c is 0.39.

The process color (four color CMYK) of #2a579c color hex is 0.73, 0.44, 0.00, 0.39. Web safe color of #2a579c is #336699. Color #2a579c contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01010111 10011100
Octal 52 127 234
Decimal 42 87 156
Hex 2A 57 9C

RGB Percentages of Color #2a579c

%14.74
%30.53
%54.74

CMYK Percentages of Color #2a579c

%73
%44
%0
%39

Triadic Colors of #2a579c

#2a579c #9c2a57 #579c2a

Analogous Colors of #2a579c

#2a579c #362a9c #2a909c

Monochromatic Colors of #2a579c

#2a579c

Complementary Color

#2a579c #9c6f2a

#2a579c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a579c Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a579c Color CSS Codes

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

#2a579c Text Font Color

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

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


#2a579c Background Color

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

This div background color is #2a579c


#2a579c Border Color

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

This div border color is #2a579c


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a579c


Comments

No comments written yet.

Please login to write comment.