COLOR #42A915

HEX: #42A915
RGB: (66,169,21)

Color info

#42A915 contains mainly green color. Web safe color of #42A915 is #339900 (or #390).

RGB color model

#42A915 color RGB value is (66,169,21).

  • red value is 66;
  • green value is 169;
  • blue value is 21.
RGB:
(66,169,21)
(26%,66%,8%)

RGB channels and saturation

R 66 of 255 = 26%
G 169 of 255 = 66%
B 21 of 255 = 8%

66
169
21

R + G + B ~ 33%. #42A915 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 169 + 21 = 256 (100%)
R 66 of 256 ~ 25.78%
G 169 of 256 ~ 66.02%
B 21 of 256 ~ 8.2%

%25.78
%66.02

CMYK color model

#42A915 color CMYK value is (61,0,88,34).

  • cyan value is 60.95%
  • magenta value is 0.00%
  • yellow value is 87.57%
  • key color value is 33.73%
CMYK:
(61,0,88,34)
C61M0Y88K34 
(61%,0%,88%,34%)
(0.61/0.00/0.88/0.34)	

CMYK percentages

%60.95
%0
%87.57
%33.73

Codes

Color #42A915 in popluar color models

42A915
RGB6616921
HSL102°77.89%37.25%
HSB/HSV102°87.57%66.27%
CMYK60.95%0.00%87.57%
33.73%

Color #42A915 in popluar number systems.

HEX42A915
Decimal6616921
Binary10000101010100110101
Octal10225125

Shades and tints

Shades of #42A915

#42A915
(66,169,21)
#3C9A14
(60,154,20)
#368B13
(54,139,19)
#307C12
(48,124,18)
#2A6D11
(42,109,17)
#245E10
(36,94,16)
#1E4F0F
(30,79,15)
#18400E
(24,64,14)
#12310D
(18,49,13)
#0C220C
(12,34,12)
#06130B
(6,19,11)
#000000
(0,0,0)

Tints of #42A915

#42A915
(66,169,21)
#53B02A
(83,176,42)
#64B73F
(100,183,63)
#75BE54
(117,190,84)
#86C569
(134,197,105)
#97CC7E
(151,204,126)
#A8D393
(168,211,147)
#B9DAA8
(185,218,168)
#CAE1BD
(202,225,189)
#DBE8D2
(219,232,210)
#ECEFE7
(236,239,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42A915 color. Also use rgb(66,169,21) instead hex code.

Text Font Color

.myTextColor { color: #42A915; }

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

This text font color is #42A915.


Background Color

.myBgColor { background-color: #42A915; }

<div style="background-color:#42A915">Inner text</div>

This div background color is #42A915.


Border color

.myBorderColor { border: 1px solid #42A915; }

<div style="border:3px solid #42A915">Div</div>

This div border color is #42A915.


Opacity

.myOpacity80 { color: #42A915; opacity: 0.8; }

<p style="color:#42A915;opacity:0.8;">80%</p>

Text with #42A915 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 #42A915;}

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

This text has shadow with #42A915 color.

.textShadow {text-shadow: 3px 3px 1px #42A915, 3px 3px 1px red;}

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

This text has shadow with #42A915 primary color and red secondary color.


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

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

This text has shadow with #42A915 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42A915 on black background.


Color preview on white background

This text has color #42A915 on white background.



Black color preview on #42A915 background

This text has black color on #42A915 background.


White color preview on #42A915 background

This text has white color on #42A915 background.