Color Hex Logo

#2a7e40 Color Hex

#2A7E40
(42,126,64)
0 Favorites   0 Comments

Color spaces of #2a7e40

RGB 4212664
HSL0.380.500.33
HSV136°67°49°
CMYK 0.670.000.49   0.51
XYZ9.341115.78417.4048
Yxy15.78410.28720.4852
Hunter Lab39.7292-27.557316.7599
CIE-Lab46.6900-39.475126.4502

#2a7e40 color RGB value is (42,126,64).

#2a7e40 hex color red value is 42, green value is 126 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #2a7e40 hue: 0.38 , saturation: 0.50 and the lightness value of 2a7e40 is 0.33.

The process color (four color CMYK) of #2a7e40 color hex is 0.67, 0.00, 0.49, 0.51. Web safe color of #2a7e40 is #336633. Color #2a7e40 contains mainly GREEN color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01111110 01000000
Octal 52 176 100
Decimal 42 126 64
Hex 2A 7E 40

RGB Percentages of Color #2a7e40

%18.10
%54.31
%27.59

CMYK Percentages of Color #2a7e40

%67
%0
%49
%51

Triadic Colors of #2a7e40

#2a7e40 #402a7e #7e402a

Analogous Colors of #2a7e40

#2a7e40 #2a7e6a #3e7e2a

Monochromatic Colors of #2a7e40

#2a7e40

Complementary Color

#2a7e40 #7e2a68

#2a7e40 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a7e40 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a7e40 Color CSS Codes

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

#2a7e40 Text Font Color

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

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


#2a7e40 Background Color

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

This div background color is #2a7e40


#2a7e40 Border Color

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

This div border color is #2a7e40


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a7e40


Comments

No comments written yet.

Please login to write comment.