COLOR #42A152

HEX: #42A152
RGB: (66,161,82)

Color info

#42A152 contains mainly green color. Web safe color of #42A152 is #339966 (or #396).

RGB color model

#42A152 color RGB value is (66,161,82).

  • red value is 66;
  • green value is 161;
  • blue value is 82.
RGB:
(66,161,82)
(26%,63%,32%)

RGB channels and saturation

R 66 of 255 = 26%
G 161 of 255 = 63%
B 82 of 255 = 32%

66
161
82

R + G + B ~ 40%. #42A152 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
66 + 161 + 82 = 309 (100%)
R 66 of 309 ~ 21.36%
G 161 of 309 ~ 52.1%
B 82 of 309 ~ 26.54%

%21.36
%52.1
%26.54

CMYK color model

#42A152 color CMYK value is (59,0,49,37).

  • cyan value is 59.01%
  • magenta value is 0.00%
  • yellow value is 49.07%
  • key color value is 36.86%
CMYK:
(59,0,49,37)
C59M0Y49K37 
(59%,0%,49%,37%)
(0.59/0.00/0.49/0.37)	

CMYK percentages

%59.01
%0
%49.07
%36.86

Codes

Color #42A152 in popluar color models

42A152
RGB6616182
HSL130°41.85%44.51%
HSB/HSV130°59.01%63.14%
CMYK59.01%0.00%49.07%
36.86%

Color #42A152 in popluar number systems.

HEX42A152
Decimal6616182
Binary1000010101000011010010
Octal102241122

Shades and tints

Shades of #42A152

#42A152
(66,161,82)
#3C934B
(60,147,75)
#368544
(54,133,68)
#30773D
(48,119,61)
#2A6936
(42,105,54)
#245B2F
(36,91,47)
#1E4D28
(30,77,40)
#183F21
(24,63,33)
#12311A
(18,49,26)
#0C2313
(12,35,19)
#06150C
(6,21,12)
#000000
(0,0,0)

Tints of #42A152

#42A152
(66,161,82)
#53A961
(83,169,97)
#64B170
(100,177,112)
#75B97F
(117,185,127)
#86C18E
(134,193,142)
#97C99D
(151,201,157)
#A8D1AC
(168,209,172)
#B9D9BB
(185,217,187)
#CAE1CA
(202,225,202)
#DBE9D9
(219,233,217)
#ECF1E8
(236,241,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42A152 color. Also use rgb(66,161,82) instead hex code.

Text Font Color

.myTextColor { color: #42A152; }

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

This text font color is #42A152.


Background Color

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

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

This div background color is #42A152.


Border color

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

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

This div border color is #42A152.


Opacity

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

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

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

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

This text has shadow with #42A152 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42A152 on black background.


Color preview on white background

This text has color #42A152 on white background.



Black color preview on #42A152 background

This text has black color on #42A152 background.


White color preview on #42A152 background

This text has white color on #42A152 background.