COLOR #506142

HEX: #506142
RGB: (80,97,66)

Color info

#506142 contains red, green and blue colors in about the same proportion. Web safe color of #506142 is #666633 (or #663).

RGB color model

#506142 color RGB value is (80,97,66).

  • red value is 80;
  • green value is 97;
  • blue value is 66.
RGB:
(80,97,66)
(31%,38%,26%)

RGB channels and saturation

R 80 of 255 = 31%
G 97 of 255 = 38%
B 66 of 255 = 26%

80
97
66

R + G + B ~ 32%. #506142 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 97 + 66 = 243 (100%)
R 80 of 243 ~ 32.92%
G 97 of 243 ~ 39.92%
B 66 of 243 ~ 27.16%

%32.92
%39.92
%27.16

CMYK color model

#506142 color CMYK value is (18,0,32,62).

  • cyan value is 17.53%
  • magenta value is 0.00%
  • yellow value is 31.96%
  • key color value is 61.96%
CMYK:
(18,0,32,62)
C18M0Y32K62 
(18%,0%,32%,62%)
(0.18/0.00/0.32/0.62)	

CMYK percentages

%17.53
%0
%31.96
%61.96

Codes

Color #506142 in popluar color models

506142
RGB809766
HSL93°19.02%31.96%
HSB/HSV93°31.96%38.04%
CMYK17.53%0.00%31.96%
61.96%

Color #506142 in popluar number systems.

HEX506142
Decimal809766
Binary101000011000011000010
Octal120141102

Shades and tints

Shades of #506142

#506142
(80,97,66)
#49593C
(73,89,60)
#425136
(66,81,54)
#3B4930
(59,73,48)
#34412A
(52,65,42)
#2D3924
(45,57,36)
#26311E
(38,49,30)
#1F2918
(31,41,24)
#182112
(24,33,18)
#11190C
(17,25,12)
#0A1106
(10,17,6)
#000000
(0,0,0)

Tints of #506142

#506142
(80,97,66)
#5F6F53
(95,111,83)
#6E7D64
(110,125,100)
#7D8B75
(125,139,117)
#8C9986
(140,153,134)
#9BA797
(155,167,151)
#AAB5A8
(170,181,168)
#B9C3B9
(185,195,185)
#C8D1CA
(200,209,202)
#D7DFDB
(215,223,219)
#E6EDEC
(230,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #506142 color. Also use rgb(80,97,66) instead hex code.

Text Font Color

.myTextColor { color: #506142; }

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

This text font color is #506142.


Background Color

.myBgColor { background-color: #506142; }

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

This div background color is #506142.


Border color

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

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

This div border color is #506142.


Opacity

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

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

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

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

This text has shadow with #506142 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #506142 on black background.


Color preview on white background

This text has color #506142 on white background.



Black color preview on #506142 background

This text has black color on #506142 background.


White color preview on #506142 background

This text has white color on #506142 background.