Color Hex Logo

#2a4787 Color Hex

#2A4787
(42,71,135)
0 Favorites   0 Comments

Color spaces of #2a4787

RGB 4271135
HSL0.610.530.35
HSV221°69°53°
CMYK 0.690.470.00   0.47
XYZ7.58136.748023.8246
Yxy6.74800.19870.1769
Hunter Lab25.97696.6352-36.1937
CIE-Lab31.226211.6699-39.0935

#2a4787 color RGB value is (42,71,135).

#2a4787 hex color red value is 42, green value is 71 and the blue value of its RGB is 135. Cylindrical-coordinate representations (also known as HSL) of color #2a4787 hue: 0.61 , saturation: 0.53 and the lightness value of 2a4787 is 0.35.

The process color (four color CMYK) of #2a4787 color hex is 0.69, 0.47, 0.00, 0.47. Web safe color of #2a4787 is #333399. Color #2a4787 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01000111 10000111
Octal 52 107 207
Decimal 42 71 135
Hex 2A 47 87

RGB Percentages of Color #2a4787

%16.94
%28.63
%54.44

CMYK Percentages of Color #2a4787

%69
%47
%0
%47

Triadic Colors of #2a4787

#2a4787 #872a47 #47872a

Analogous Colors of #2a4787

#2a4787 #3c2a87 #2a7687

Monochromatic Colors of #2a4787

#2a4787

Complementary Color

#2a4787 #876a2a

#2a4787 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a4787 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a4787 Color CSS Codes

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

#2a4787 Text Font Color

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

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


#2a4787 Background Color

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

This div background color is #2a4787


#2a4787 Border Color

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

This div border color is #2a4787


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a4787


Comments

No comments written yet.

Please login to write comment.