Color Hex Logo

#2a5212 Color Hex

#2A5212
(42,82,18)
0 Favorites   0 Comments

Color spaces of #2a5212

RGB 428218
HSL0.270.640.20
HSV98°78°32°
CMYK 0.490.000.78   0.68
XYZ4.08136.57051.6254
Yxy6.57050.33240.5352
Hunter Lab25.6330-16.436814.1835
CIE-Lab30.8084-26.672431.4591

#2a5212 color RGB value is (42,82,18).

#2a5212 hex color red value is 42, green value is 82 and the blue value of its RGB is 18. Cylindrical-coordinate representations (also known as HSL) of color #2a5212 hue: 0.27 , saturation: 0.64 and the lightness value of 2a5212 is 0.20.

The process color (four color CMYK) of #2a5212 color hex is 0.49, 0.00, 0.78, 0.68. Web safe color of #2a5212 is #336600. Color #2a5212 contains mainly GREEN color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01010010 00010010
Octal 52 122 22
Decimal 42 82 18
Hex 2A 52 12

RGB Percentages of Color #2a5212

%29.58
%57.75
%12.68

CMYK Percentages of Color #2a5212

%49
%0
%78
%68

Triadic Colors of #2a5212

#2a5212 #122a52 #52122a

Analogous Colors of #2a5212

#2a5212 #12521a #4a5212

Monochromatic Colors of #2a5212

#2a5212

Complementary Color

#2a5212 #3a1252

#2a5212 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a5212 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a5212 Color CSS Codes

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

#2a5212 Text Font Color

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

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


#2a5212 Background Color

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

This div background color is #2a5212


#2a5212 Border Color

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

This div border color is #2a5212


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a5212


Comments

No comments written yet.

Please login to write comment.