COLOR #42B040

HEX: #42B040
RGB: (66,176,64)

Color info

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

RGB color model

#42B040 color RGB value is (66,176,64).

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

RGB channels and saturation

R 66 of 255 = 26%
G 176 of 255 = 69%
B 64 of 255 = 25%

66
176
64

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

Portions of RGB colors in percentages

R + G + B =
66 + 176 + 64 = 306 (100%)
R 66 of 306 ~ 21.57%
G 176 of 306 ~ 57.52%
B 64 of 306 ~ 20.92%

%21.57
%57.52
%20.92

CMYK color model

#42B040 color CMYK value is (63,0,64,31).

  • cyan value is 62.50%
  • magenta value is 0.00%
  • yellow value is 63.64%
  • key color value is 30.98%
CMYK:
(63,0,64,31)
C63M0Y64K31 
(63%,0%,64%,31%)
(0.63/0.00/0.64/0.31)	

CMYK percentages

%62.5
%0
%63.64
%30.98

Codes

Color #42B040 in popluar color models

42B040
RGB6617664
HSL119°46.67%47.06%
HSB/HSV119°63.64%69.02%
CMYK62.50%0.00%63.64%
30.98%

Color #42B040 in popluar number systems.

HEX42B040
Decimal6617664
Binary1000010101100001000000
Octal102260100

Shades and tints

Shades of #42B040

#42B040
(66,176,64)
#3CA03B
(60,160,59)
#369036
(54,144,54)
#308031
(48,128,49)
#2A702C
(42,112,44)
#246027
(36,96,39)
#1E5022
(30,80,34)
#18401D
(24,64,29)
#123018
(18,48,24)
#0C2013
(12,32,19)
#06100E
(6,16,14)
#000000
(0,0,0)

Tints of #42B040

#42B040
(66,176,64)
#53B751
(83,183,81)
#64BE62
(100,190,98)
#75C573
(117,197,115)
#86CC84
(134,204,132)
#97D395
(151,211,149)
#A8DAA6
(168,218,166)
#B9E1B7
(185,225,183)
#CAE8C8
(202,232,200)
#DBEFD9
(219,239,217)
#ECF6EA
(236,246,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42B040; }

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

This text font color is #42B040.


Background Color

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

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

This div background color is #42B040.


Border color

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

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

This div border color is #42B040.


Opacity

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

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

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

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

This text has shadow with #42B040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42B040 on black background.


Color preview on white background

This text has color #42B040 on white background.



Black color preview on #42B040 background

This text has black color on #42B040 background.


White color preview on #42B040 background

This text has white color on #42B040 background.