COLOR #42A745

HEX: #42A745
RGB: (66,167,69)

Color info

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

RGB color model

#42A745 color RGB value is (66,167,69).

  • red value is 66;
  • green value is 167;
  • blue value is 69.
RGB:
(66,167,69)
(26%,65%,27%)

RGB channels and saturation

R 66 of 255 = 26%
G 167 of 255 = 65%
B 69 of 255 = 27%

66
167
69

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

Portions of RGB colors in percentages

R + G + B =
66 + 167 + 69 = 302 (100%)
R 66 of 302 ~ 21.85%
G 167 of 302 ~ 55.3%
B 69 of 302 ~ 22.85%

%21.85
%55.3
%22.85

CMYK color model

#42A745 color CMYK value is (60,0,59,35).

  • cyan value is 60.48%
  • magenta value is 0.00%
  • yellow value is 58.68%
  • key color value is 34.51%
CMYK:
(60,0,59,35)
C60M0Y59K35 
(60%,0%,59%,35%)
(0.60/0.00/0.59/0.35)	

CMYK percentages

%60.48
%0
%58.68
%34.51

Codes

Color #42A745 in popluar color models

42A745
RGB6616769
HSL122°43.35%45.69%
HSB/HSV122°60.48%65.49%
CMYK60.48%0.00%58.68%
34.51%

Color #42A745 in popluar number systems.

HEX42A745
Decimal6616769
Binary1000010101001111000101
Octal102247105

Shades and tints

Shades of #42A745

#42A745
(66,167,69)
#3C983F
(60,152,63)
#368939
(54,137,57)
#307A33
(48,122,51)
#2A6B2D
(42,107,45)
#245C27
(36,92,39)
#1E4D21
(30,77,33)
#183E1B
(24,62,27)
#122F15
(18,47,21)
#0C200F
(12,32,15)
#061109
(6,17,9)
#000000
(0,0,0)

Tints of #42A745

#42A745
(66,167,69)
#53AF55
(83,175,85)
#64B765
(100,183,101)
#75BF75
(117,191,117)
#86C785
(134,199,133)
#97CF95
(151,207,149)
#A8D7A5
(168,215,165)
#B9DFB5
(185,223,181)
#CAE7C5
(202,231,197)
#DBEFD5
(219,239,213)
#ECF7E5
(236,247,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42A745; }

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

This text font color is #42A745.


Background Color

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

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

This div background color is #42A745.


Border color

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

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

This div border color is #42A745.


Opacity

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

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

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

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

This text has shadow with #42A745 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42A745 on black background.


Color preview on white background

This text has color #42A745 on white background.



Black color preview on #42A745 background

This text has black color on #42A745 background.


White color preview on #42A745 background

This text has white color on #42A745 background.