Color Hex Logo

#2a5581 Color Hex

#2A5581
(42,85,129)
0 Favorites   0 Comments

Color spaces of #2a5581

RGB 4285129
HSL0.580.510.34
HSV210°67°51°
CMYK 0.670.340.00   0.49
XYZ8.16588.574221.9935
Yxy8.57420.21080.2214
Hunter Lab29.2817-1.4647-24.0355
CIE-Lab35.15120.1467-29.1560

#2a5581 color RGB value is (42,85,129).

#2a5581 hex color red value is 42, green value is 85 and the blue value of its RGB is 129. Cylindrical-coordinate representations (also known as HSL) of color #2a5581 hue: 0.58 , saturation: 0.51 and the lightness value of 2a5581 is 0.34.

The process color (four color CMYK) of #2a5581 color hex is 0.67, 0.34, 0.00, 0.49. Web safe color of #2a5581 is #336699. Color #2a5581 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01010101 10000001
Octal 52 125 201
Decimal 42 85 129
Hex 2A 55 81

RGB Percentages of Color #2a5581

%16.41
%33.20
%50.39

CMYK Percentages of Color #2a5581

%67
%34
%0
%49

Triadic Colors of #2a5581

#2a5581 #812a55 #55812a

Analogous Colors of #2a5581

#2a5581 #2b2a81 #2a8181

Monochromatic Colors of #2a5581

#2a5581

Complementary Color

#2a5581 #81562a

#2a5581 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a5581 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a5581 Color CSS Codes

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

#2a5581 Text Font Color

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

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


#2a5581 Background Color

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

This div background color is #2a5581


#2a5581 Border Color

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

This div border color is #2a5581


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a5581


Comments

No comments written yet.

Please login to write comment.