Color Hex Logo

#2a5798 Color Hex

#2A5798
(42,87,152)
0 Favorites   0 Comments

Color spaces of #2a5798

RGB 4287152
HSL0.600.570.38
HSV215°72°60°
CMYK 0.720.430.00   0.40
XYZ10.03059.575631.0254
Yxy9.57560.19810.1891
Hunter Lab30.94453.7071-37.7839
CIE-Lab37.06977.5337-40.1086

#2a5798 color RGB value is (42,87,152).

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

The process color (four color CMYK) of #2a5798 color hex is 0.72, 0.43, 0.00, 0.40. Web safe color of #2a5798 is #336699. Color #2a5798 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01010111 10011000
Octal 52 127 230
Decimal 42 87 152
Hex 2A 57 98

RGB Percentages of Color #2a5798

%14.95
%30.96
%54.09

CMYK Percentages of Color #2a5798

%72
%43
%0
%40

Triadic Colors of #2a5798

#2a5798 #982a57 #57982a

Analogous Colors of #2a5798

#2a5798 #342a98 #2a8e98

Monochromatic Colors of #2a5798

#2a5798

Complementary Color

#2a5798 #986b2a

#2a5798 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a5798 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a5798 Color CSS Codes

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

#2a5798 Text Font Color

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

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


#2a5798 Background Color

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

This div background color is #2a5798


#2a5798 Border Color

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

This div border color is #2a5798


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a5798


Comments

No comments written yet.

Please login to write comment.