COLOR #42B240

HEX: #42B240
RGB: (66,178,64)

Color info

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

RGB color model

#42B240 color RGB value is (66,178,64).

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

RGB channels and saturation

R 66 of 255 = 26%
G 178 of 255 = 70%
B 64 of 255 = 25%

66
178
64

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

Portions of RGB colors in percentages

R + G + B =
66 + 178 + 64 = 308 (100%)
R 66 of 308 ~ 21.43%
G 178 of 308 ~ 57.79%
B 64 of 308 ~ 20.78%

%21.43
%57.79
%20.78

CMYK color model

#42B240 color CMYK value is (63,0,64,30).

  • cyan value is 62.92%
  • magenta value is 0.00%
  • yellow value is 64.04%
  • key color value is 30.20%
CMYK:
(63,0,64,30)
C63M0Y64K30 
(63%,0%,64%,30%)
(0.63/0.00/0.64/0.30)	

CMYK percentages

%62.92
%0
%64.04
%30.2

Codes

Color #42B240 in popluar color models

42B240
RGB6617864
HSL119°47.11%47.45%
HSB/HSV119°64.04%69.80%
CMYK62.92%0.00%64.04%
30.20%

Color #42B240 in popluar number systems.

HEX42B240
Decimal6617864
Binary1000010101100101000000
Octal102262100

Shades and tints

Shades of #42B240

#42B240
(66,178,64)
#3CA23B
(60,162,59)
#369236
(54,146,54)
#308231
(48,130,49)
#2A722C
(42,114,44)
#246227
(36,98,39)
#1E5222
(30,82,34)
#18421D
(24,66,29)
#123218
(18,50,24)
#0C2213
(12,34,19)
#06120E
(6,18,14)
#000000
(0,0,0)

Tints of #42B240

#42B240
(66,178,64)
#53B951
(83,185,81)
#64C062
(100,192,98)
#75C773
(117,199,115)
#86CE84
(134,206,132)
#97D595
(151,213,149)
#A8DCA6
(168,220,166)
#B9E3B7
(185,227,183)
#CAEAC8
(202,234,200)
#DBF1D9
(219,241,217)
#ECF8EA
(236,248,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42B240; }

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

This text font color is #42B240.


Background Color

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

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

This div background color is #42B240.


Border color

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

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

This div border color is #42B240.


Opacity

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

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

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

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

This text has shadow with #42B240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42B240 on black background.


Color preview on white background

This text has color #42B240 on white background.



Black color preview on #42B240 background

This text has black color on #42B240 background.


White color preview on #42B240 background

This text has white color on #42B240 background.