COLOR #2A5F00

HEX: #2A5F00
RGB: (42,95,0)

Color info

#2A5F00 contains only red and green colors. Web safe color of #2A5F00 is #336600 (or #360).

RGB color model

#2A5F00 color RGB value is (42,95,0).

  • red value is 42;
  • green value is 95;
  • blue value is 0.
RGB:
(42,95,0)
(16%,37%,0%)

RGB channels and saturation

R 42 of 255 = 16%
G 95 of 255 = 37%
B 0 of 255 = 0%

42
95
0

R + G + B ~ 18%. #2A5F00 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 95 + 0 = 137 (100%)
R 42 of 137 ~ 30.66%
G 95 of 137 ~ 69.34%
B 0 of 137 ~ 0%

%30.66
%69.34

CMYK color model

#2A5F00 color CMYK value is (56,0,100,63).

  • cyan value is 55.79%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 62.75%
CMYK:
(56,0,100,63)
C56M0Y100K63 
(56%,0%,100%,63%)
(0.56/0.00/1.00/0.63)	

CMYK percentages

%55.79
%0
%100
%62.75

Codes

Color #2A5F00 in popluar color models

2A5F00
RGB42950
HSL93°100.00%18.63%
HSB/HSV93°100.00%37.25%
CMYK55.79%0.00%100.00%
62.75%

Color #2A5F00 in popluar number systems.

HEX2A5F00
Decimal42950
Binary10101010111110
Octal521370

Shades and tints

Shades of #2A5F00

#2A5F00
(42,95,0)
#275700
(39,87,0)
#244F00
(36,79,0)
#214700
(33,71,0)
#1E3F00
(30,63,0)
#1B3700
(27,55,0)
#182F00
(24,47,0)
#152700
(21,39,0)
#121F00
(18,31,0)
#0F1700
(15,23,0)
#0C0F00
(12,15,0)
#000000
(0,0,0)

Tints of #2A5F00

#2A5F00
(42,95,0)
#3D6D17
(61,109,23)
#507B2E
(80,123,46)
#638945
(99,137,69)
#76975C
(118,151,92)
#89A573
(137,165,115)
#9CB38A
(156,179,138)
#AFC1A1
(175,193,161)
#C2CFB8
(194,207,184)
#D5DDCF
(213,221,207)
#E8EBE6
(232,235,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5F00 color. Also use rgb(42,95,0) instead hex code.

Text Font Color

.myTextColor { color: #2A5F00; }

<p style="color:#2A5F00">This sample text font color is #2A5F00.</p>

This text font color is #2A5F00.


Background Color

.myBgColor { background-color: #2A5F00; }

<div style="background-color:#2A5F00">Inner text</div>

This div background color is #2A5F00.


Border color

.myBorderColor { border: 1px solid #2A5F00; }

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

This div border color is #2A5F00.


Opacity

.myOpacity80 { color: #2A5F00; opacity: 0.8; }

<p style="color:#2A5F00;opacity:0.8;">80%</p>

Text with #2A5F00 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #2A5F00;}

<p style="text-shadow: 3px 3px 1px #2A5F00">Text here.</p>

This text has shadow with #2A5F00 color.

.textShadow {text-shadow: 3px 3px 1px #2A5F00, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #2A5F00, 5px 5px 20px red">Text here.</p>

This text has shadow with #2A5F00 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2A5F00, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#2A5F00, Direction=45, Strength=4)">Text</p>

This text has shadow with #2A5F00 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #2A5F00;
  -webkit-box-shadow:	1px 1px 3px 2px #2A5F00;
  box-shadow:		1px 1px 3px 2px #2A5F00;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #2A5F00;
-webkit-box-shadow: 1px 1px 3px 2px #2A5F00;
box-shadow:1px 1px 3px 2px #2A5F00;">
Div content here</div>
This div box has shadow with color #2A5F00.

Preview

Color preview on black background

This text has color #2A5F00 on black background.


Color preview on white background

This text has color #2A5F00 on white background.



Black color preview on #2A5F00 background

This text has black color on #2A5F00 background.


White color preview on #2A5F00 background

This text has white color on #2A5F00 background.