Color Hex Logo

#2a9840 Color Hex

#2A9840
(42,152,64)
0 Favorites   0 Comments

Color spaces of #2a9840

RGB 4215264
HSL0.370.570.38
HSV132°72°60°
CMYK 0.720.000.58   0.40
XYZ13.108523.31898.6606
Yxy23.31890.29070.5172
Hunter Lab48.2896-36.052023.1693
CIE-Lab55.3993-49.425637.0902

#2a9840 color RGB value is (42,152,64).

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

The process color (four color CMYK) of #2a9840 color hex is 0.72, 0.00, 0.58, 0.40. Web safe color of #2a9840 is #339933. Color #2a9840 contains mainly GREEN color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 10011000 01000000
Octal 52 230 100
Decimal 42 152 64
Hex 2A 98 40

RGB Percentages of Color #2a9840

%16.28
%58.91
%24.81

CMYK Percentages of Color #2a9840

%72
%0
%58
%40

Triadic Colors of #2a9840

#2a9840 #402a98 #98402a

Analogous Colors of #2a9840

#2a9840 #2a9877 #4b982a

Monochromatic Colors of #2a9840

#2a9840

Complementary Color

#2a9840 #982a82

#2a9840 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a9840 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a9840 Color CSS Codes

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

#2a9840 Text Font Color

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

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


#2a9840 Background Color

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

This div background color is #2a9840


#2a9840 Border Color

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

This div border color is #2a9840


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(42,152,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 #2a9840">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a9840


Comments

No comments written yet.

Please login to write comment.