#2a7428 Color Hex

#2A7428
(42,116,40)
0 Favorites   0 Comments

Color spaces of #2a7428

RGB 4211640
HSL0.330.490.31
HSV118°66°45°
CMYK 0.640.000.66   0.55
XYZ7.583213.13624.1433
Yxy13.13620.30500.5283
Hunter Lab36.2439-26.079818.5929
CIE-Lab42.9678-38.922234.3979


#2a7428 color RGB value is (42,116,40).

#2a7428 hex color red value is 42, green value is 116 and the blue value of its RGB is 40. Cylindrical-coordinate representations (also known as HSL) of color #2a7428 hue: 0.33 , saturation: 0.49 and the lightness value of 2a7428 is 0.31.

The process color (four color CMYK) of #2a7428 color hex is 0.64, 0.00, 0.66, 0.55. Web safe color of #2a7428 is #336633. Color #2a7428 contains mainly GREEN color.

Base Numbers

BaseRedGreenBlue
Binary 00101010 01110100 00101000
Octal 52 164 50
Decimal 42 116 40
Hex 2A 74 28

RGB Percentages of Color #2a7428

%21.21
%58.59
%20.20

CMYK Percentages of Color #2a7428

%64
%0
%66
%55

Triadic Colors of #2a7428

#2a7428 #282a74 #74282a

Analogous Colors of #2a7428

#2a7428 #28744c #507428

Monochromatic Colors of #2a7428

#2a7428

Complementary Color

#2a7428 #722874

#2a7428 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2a7428 Color Preview on White Background

Lorem ipsum dolor sit amet.

#2a7428 Color CSS Codes

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

#2a7428 Text Font Color

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

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


#2a7428 Background Color

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

This div background color is #2a7428


#2a7428 Border Color

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

This div border color is #2a7428


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #2a7428


Comments

No comments written yet.

Please login to write comment.

This website uses cookies to collect information about how you interact with our website. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors. To find out more about the cookies we use, see our Privacy Policy.