COLOR #42A342

HEX: #42A342
RGB: (66,163,66)

Color info

#42A342 contains mainly green color. Web safe color of #42A342 is #339933 (or #393).

RGB color model

#42A342 color RGB value is (66,163,66).

  • red value is 66;
  • green value is 163;
  • blue value is 66.
RGB:
(66,163,66)
(26%,64%,26%)

RGB channels and saturation

R 66 of 255 = 26%
G 163 of 255 = 64%
B 66 of 255 = 26%

66
163
66

R + G + B ~ 39%. #42A342 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 163 + 66 = 295 (100%)
R 66 of 295 ~ 22.37%
G 163 of 295 ~ 55.25%
B 66 of 295 ~ 22.37%

%22.37
%55.25
%22.37

CMYK color model

#42A342 color CMYK value is (60,0,60,36).

  • cyan value is 59.51%
  • magenta value is 0.00%
  • yellow value is 59.51%
  • key color value is 36.08%
CMYK:
(60,0,60,36)
C60M0Y60K36 
(60%,0%,60%,36%)
(0.60/0.00/0.60/0.36)	

CMYK percentages

%59.51
%0
%59.51
%36.08

Codes

Color #42A342 in popluar color models

42A342
RGB6616366
HSL120°42.36%44.90%
HSB/HSV120°59.51%63.92%
CMYK59.51%0.00%59.51%
36.08%

Color #42A342 in popluar number systems.

HEX42A342
Decimal6616366
Binary1000010101000111000010
Octal102243102

Shades and tints

Shades of #42A342

#42A342
(66,163,66)
#3C953C
(60,149,60)
#368736
(54,135,54)
#307930
(48,121,48)
#2A6B2A
(42,107,42)
#245D24
(36,93,36)
#1E4F1E
(30,79,30)
#184118
(24,65,24)
#123312
(18,51,18)
#0C250C
(12,37,12)
#061706
(6,23,6)
#000000
(0,0,0)

Tints of #42A342

#42A342
(66,163,66)
#53AB53
(83,171,83)
#64B364
(100,179,100)
#75BB75
(117,187,117)
#86C386
(134,195,134)
#97CB97
(151,203,151)
#A8D3A8
(168,211,168)
#B9DBB9
(185,219,185)
#CAE3CA
(202,227,202)
#DBEBDB
(219,235,219)
#ECF3EC
(236,243,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42A342; }

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

This text font color is #42A342.


Background Color

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

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

This div background color is #42A342.


Border color

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

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

This div border color is #42A342.


Opacity

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

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

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

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

This text has shadow with #42A342 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42A342 on black background.


Color preview on white background

This text has color #42A342 on white background.



Black color preview on #42A342 background

This text has black color on #42A342 background.


White color preview on #42A342 background

This text has white color on #42A342 background.