COLOR #506152

HEX: #506152
RGB: (80,97,82)

Color info

#506152 contains red, green and blue colors in about the same proportion. Web safe color of #506152 is #666666 (or #666).

RGB color model

#506152 color RGB value is (80,97,82).

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

RGB channels and saturation

R 80 of 255 = 31%
G 97 of 255 = 38%
B 82 of 255 = 32%

80
97
82

R + G + B ~ 34%. #506152 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 97 + 82 = 259 (100%)
R 80 of 259 ~ 30.89%
G 97 of 259 ~ 37.45%
B 82 of 259 ~ 31.66%

%30.89
%37.45
%31.66

CMYK color model

#506152 color CMYK value is (18,0,15,62).

  • cyan value is 17.53%
  • magenta value is 0.00%
  • yellow value is 15.46%
  • key color value is 61.96%
CMYK:
(18,0,15,62)
C18M0Y15K62 
(18%,0%,15%,62%)
(0.18/0.00/0.15/0.62)	

CMYK percentages

%17.53
%0
%15.46
%61.96

Codes

Color #506152 in popluar color models

506152
RGB809782
HSL127°9.60%34.71%
HSB/HSV127°17.53%38.04%
CMYK17.53%0.00%15.46%
61.96%

Color #506152 in popluar number systems.

HEX506152
Decimal809782
Binary101000011000011010010
Octal120141122

Shades and tints

Shades of #506152

#506152
(80,97,82)
#49594B
(73,89,75)
#425144
(66,81,68)
#3B493D
(59,73,61)
#344136
(52,65,54)
#2D392F
(45,57,47)
#263128
(38,49,40)
#1F2921
(31,41,33)
#18211A
(24,33,26)
#111913
(17,25,19)
#0A110C
(10,17,12)
#000000
(0,0,0)

Tints of #506152

#506152
(80,97,82)
#5F6F61
(95,111,97)
#6E7D70
(110,125,112)
#7D8B7F
(125,139,127)
#8C998E
(140,153,142)
#9BA79D
(155,167,157)
#AAB5AC
(170,181,172)
#B9C3BB
(185,195,187)
#C8D1CA
(200,209,202)
#D7DFD9
(215,223,217)
#E6EDE8
(230,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #506152; }

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

This text font color is #506152.


Background Color

.myBgColor { background-color: #506152; }

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

This div background color is #506152.


Border color

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

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

This div border color is #506152.


Opacity

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

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

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

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

This text has shadow with #506152 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #506152 on black background.


Color preview on white background

This text has color #506152 on white background.



Black color preview on #506152 background

This text has black color on #506152 background.


White color preview on #506152 background

This text has white color on #506152 background.