COLOR #478042

HEX: #478042
RGB: (71,128,66)

Color info

#478042 contains mainly red and green colors. Web safe color of #478042 is #336633 (or #363).

RGB color model

#478042 color RGB value is (71,128,66).

  • red value is 71;
  • green value is 128;
  • blue value is 66.
RGB:
(71,128,66)
(28%,50%,26%)

RGB channels and saturation

R 71 of 255 = 28%
G 128 of 255 = 50%
B 66 of 255 = 26%

71
128
66

R + G + B ~ 35%. #478042 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
71 + 128 + 66 = 265 (100%)
R 71 of 265 ~ 26.79%
G 128 of 265 ~ 48.3%
B 66 of 265 ~ 24.91%

%26.79
%48.3
%24.91

CMYK color model

#478042 color CMYK value is (45,0,48,50).

  • cyan value is 44.53%
  • magenta value is 0.00%
  • yellow value is 48.44%
  • key color value is 49.80%
CMYK:
(45,0,48,50)
C45M0Y48K50 
(45%,0%,48%,50%)
(0.45/0.00/0.48/0.50)	

CMYK percentages

%44.53
%0
%48.44
%49.8

Codes

Color #478042 in popluar color models

478042
RGB7112866
HSL115°31.96%38.04%
HSB/HSV115°48.44%50.20%
CMYK44.53%0.00%48.44%
49.80%

Color #478042 in popluar number systems.

HEX478042
Decimal7112866
Binary1000111100000001000010
Octal107200102

Shades and tints

Shades of #478042

#478042
(71,128,66)
#41753C
(65,117,60)
#3B6A36
(59,106,54)
#355F30
(53,95,48)
#2F542A
(47,84,42)
#294924
(41,73,36)
#233E1E
(35,62,30)
#1D3318
(29,51,24)
#172812
(23,40,18)
#111D0C
(17,29,12)
#0B1206
(11,18,6)
#000000
(0,0,0)

Tints of #478042

#478042
(71,128,66)
#578B53
(87,139,83)
#679664
(103,150,100)
#77A175
(119,161,117)
#87AC86
(135,172,134)
#97B797
(151,183,151)
#A7C2A8
(167,194,168)
#B7CDB9
(183,205,185)
#C7D8CA
(199,216,202)
#D7E3DB
(215,227,219)
#E7EEEC
(231,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #478042 color. Also use rgb(71,128,66) instead hex code.

Text Font Color

.myTextColor { color: #478042; }

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

This text font color is #478042.


Background Color

.myBgColor { background-color: #478042; }

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

This div background color is #478042.


Border color

.myBorderColor { border: 1px solid #478042; }

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

This div border color is #478042.


Opacity

.myOpacity80 { color: #478042; opacity: 0.8; }

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

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

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

This text has shadow with #478042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #478042 on black background.


Color preview on white background

This text has color #478042 on white background.



Black color preview on #478042 background

This text has black color on #478042 background.


White color preview on #478042 background

This text has white color on #478042 background.