COLOR #42AD15

HEX: #42AD15
RGB: (66,173,21)

Color info

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

RGB color model

#42AD15 color RGB value is (66,173,21).

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

RGB channels and saturation

R 66 of 255 = 26%
G 173 of 255 = 68%
B 21 of 255 = 8%

66
173
21

R + G + B ~ 34%. #42AD15 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 173 + 21 = 260 (100%)
R 66 of 260 ~ 25.38%
G 173 of 260 ~ 66.54%
B 21 of 260 ~ 8.08%

%25.38
%66.54

CMYK color model

#42AD15 color CMYK value is (62,0,88,32).

  • cyan value is 61.85%
  • magenta value is 0.00%
  • yellow value is 87.86%
  • key color value is 32.16%
CMYK:
(62,0,88,32)
C62M0Y88K32 
(62%,0%,88%,32%)
(0.62/0.00/0.88/0.32)	

CMYK percentages

%61.85
%0
%87.86
%32.16

Codes

Color #42AD15 in popluar color models

42AD15
RGB6617321
HSL102°78.35%38.04%
HSB/HSV102°87.86%67.84%
CMYK61.85%0.00%87.86%
32.16%

Color #42AD15 in popluar number systems.

HEX42AD15
Decimal6617321
Binary10000101010110110101
Octal10225525

Shades and tints

Shades of #42AD15

#42AD15
(66,173,21)
#3C9E14
(60,158,20)
#368F13
(54,143,19)
#308012
(48,128,18)
#2A7111
(42,113,17)
#246210
(36,98,16)
#1E530F
(30,83,15)
#18440E
(24,68,14)
#12350D
(18,53,13)
#0C260C
(12,38,12)
#06170B
(6,23,11)
#000000
(0,0,0)

Tints of #42AD15

#42AD15
(66,173,21)
#53B42A
(83,180,42)
#64BB3F
(100,187,63)
#75C254
(117,194,84)
#86C969
(134,201,105)
#97D07E
(151,208,126)
#A8D793
(168,215,147)
#B9DEA8
(185,222,168)
#CAE5BD
(202,229,189)
#DBECD2
(219,236,210)
#ECF3E7
(236,243,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42AD15; }

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

This text font color is #42AD15.


Background Color

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

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

This div background color is #42AD15.


Border color

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

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

This div border color is #42AD15.


Opacity

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

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

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

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

This text has shadow with #42AD15 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42AD15 on black background.


Color preview on white background

This text has color #42AD15 on white background.



Black color preview on #42AD15 background

This text has black color on #42AD15 background.


White color preview on #42AD15 background

This text has white color on #42AD15 background.