COLOR #5D8042

HEX: #5D8042
RGB: (93,128,66)

Color info

#5D8042 contains mainly red and green colors. Web safe color of #5D8042 is #666633 (or #663).

RGB color model

#5D8042 color RGB value is (93,128,66).

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

RGB channels and saturation

R 93 of 255 = 36%
G 128 of 255 = 50%
B 66 of 255 = 26%

93
128
66

R + G + B ~ 37%. #5D8042 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
93 + 128 + 66 = 287 (100%)
R 93 of 287 ~ 32.4%
G 128 of 287 ~ 44.6%
B 66 of 287 ~ 23%

%32.4
%44.6
%23

CMYK color model

#5D8042 color CMYK value is (27,0,48,50).

  • cyan value is 27.34%
  • magenta value is 0.00%
  • yellow value is 48.44%
  • key color value is 49.80%
CMYK:
(27,0,48,50)
C27M0Y48K50 
(27%,0%,48%,50%)
(0.27/0.00/0.48/0.50)	

CMYK percentages

%27.34
%0
%48.44
%49.8

Codes

Color #5D8042 in popluar color models

5D8042
RGB9312866
HSL94°31.96%38.04%
HSB/HSV94°48.44%50.20%
CMYK27.34%0.00%48.44%
49.80%

Color #5D8042 in popluar number systems.

HEX5D8042
Decimal9312866
Binary1011101100000001000010
Octal135200102

Shades and tints

Shades of #5D8042

#5D8042
(93,128,66)
#55753C
(85,117,60)
#4D6A36
(77,106,54)
#455F30
(69,95,48)
#3D542A
(61,84,42)
#354924
(53,73,36)
#2D3E1E
(45,62,30)
#253318
(37,51,24)
#1D2812
(29,40,18)
#151D0C
(21,29,12)
#0D1206
(13,18,6)
#000000
(0,0,0)

Tints of #5D8042

#5D8042
(93,128,66)
#6B8B53
(107,139,83)
#799664
(121,150,100)
#87A175
(135,161,117)
#95AC86
(149,172,134)
#A3B797
(163,183,151)
#B1C2A8
(177,194,168)
#BFCDB9
(191,205,185)
#CDD8CA
(205,216,202)
#DBE3DB
(219,227,219)
#E9EEEC
(233,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5D8042; }

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

This text font color is #5D8042.


Background Color

.myBgColor { background-color: #5D8042; }

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

This div background color is #5D8042.


Border color

.myBorderColor { border: 1px solid #5D8042; }

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

This div border color is #5D8042.


Opacity

.myOpacity80 { color: #5D8042; opacity: 0.8; }

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

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

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

This text has shadow with #5D8042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5D8042 on black background.


Color preview on white background

This text has color #5D8042 on white background.



Black color preview on #5D8042 background

This text has black color on #5D8042 background.


White color preview on #5D8042 background

This text has white color on #5D8042 background.