COLOR #42A551

HEX: #42A551
RGB: (66,165,81)

Color info

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

RGB color model

#42A551 color RGB value is (66,165,81).

  • red value is 66;
  • green value is 165;
  • blue value is 81.
RGB:
(66,165,81)
(26%,65%,32%)

RGB channels and saturation

R 66 of 255 = 26%
G 165 of 255 = 65%
B 81 of 255 = 32%

66
165
81

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

Portions of RGB colors in percentages

R + G + B =
66 + 165 + 81 = 312 (100%)
R 66 of 312 ~ 21.15%
G 165 of 312 ~ 52.88%
B 81 of 312 ~ 25.96%

%21.15
%52.88
%25.96

CMYK color model

#42A551 color CMYK value is (60,0,51,35).

  • cyan value is 60.00%
  • magenta value is 0.00%
  • yellow value is 50.91%
  • key color value is 35.29%
CMYK:
(60,0,51,35)
C60M0Y51K35 
(60%,0%,51%,35%)
(0.60/0.00/0.51/0.35)	

CMYK percentages

%60
%0
%50.91
%35.29

Codes

Color #42A551 in popluar color models

42A551
RGB6616581
HSL129°42.86%45.29%
HSB/HSV129°60.00%64.71%
CMYK60.00%0.00%50.91%
35.29%

Color #42A551 in popluar number systems.

HEX42A551
Decimal6616581
Binary1000010101001011010001
Octal102245121

Shades and tints

Shades of #42A551

#42A551
(66,165,81)
#3C964A
(60,150,74)
#368743
(54,135,67)
#30783C
(48,120,60)
#2A6935
(42,105,53)
#245A2E
(36,90,46)
#1E4B27
(30,75,39)
#183C20
(24,60,32)
#122D19
(18,45,25)
#0C1E12
(12,30,18)
#060F0B
(6,15,11)
#000000
(0,0,0)

Tints of #42A551

#42A551
(66,165,81)
#53AD60
(83,173,96)
#64B56F
(100,181,111)
#75BD7E
(117,189,126)
#86C58D
(134,197,141)
#97CD9C
(151,205,156)
#A8D5AB
(168,213,171)
#B9DDBA
(185,221,186)
#CAE5C9
(202,229,201)
#DBEDD8
(219,237,216)
#ECF5E7
(236,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42A551; }

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

This text font color is #42A551.


Background Color

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

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

This div background color is #42A551.


Border color

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

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

This div border color is #42A551.


Opacity

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

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

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

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

This text has shadow with #42A551 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42A551 on black background.


Color preview on white background

This text has color #42A551 on white background.



Black color preview on #42A551 background

This text has black color on #42A551 background.


White color preview on #42A551 background

This text has white color on #42A551 background.