COLOR #502817

HEX: #502817 RGB: (80,40,23)

Color info

#502817 contains red, green and blue colors in about the same proportion. Web safe color of #502817 is #663300 (or #630).

RGB color model

#502817 color RGB value is (80,40,23).

RGB: (80,40,23) (31%, 16%, 9%)

RGB channels and saturation

R 80 of 255 = 31%
G 40 of 255 = 16%
B 23 of 255 = 9%

80
40
23

R + G + B ~ 19%. #502817 is dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 40 + 23 = 143 (100%)
R 80 of 143 ~ 55.94%
G 40 of 143 ~ 27.97%
B 23 of 143 ~ 16.08'%

%55.94
%27.97
%16.08

CMYK color model

#502817 color CMYK value is (0,50,71,69).

  • cyan value is 0.00%
  • magenta value is 50.00%
  • yellow value is 71.25%
  • key color value is 68.63%

CMYK: (0,50,71,69)
C0M50Y71K69 (0%, 50%, 71%, 69%)
(0.00 / 0.50 / 0.71 / 0.69)

CMYK percentages

%0
%50
%71.25
%68.63

Codes

Color #502817 in popluar color models

50 28 17
RGB 80 40 23
HSL 18° 55.34% 20.20%
HSB/HSV 18° 71.25% 31.37%
CMYK 0.00% 50.00% 71.25%
68.63%

Color #502817 in popluar number systems.

HEX 50 28 17
Decimal 80 40 23
Binary 1010000 101000 10111
Octal 120 50 27

Shades and tints

Shades of #502817

#502817
(80,40,23)
#492515
(73,37,21)
#422213
(66,34,19)
#3B1F11
(59,31,17)
#341C0F
(52,28,15)
#2D190D
(45,25,13)
#26160B
(38,22,11)
#1F1309
(31,19,9)
#181007
(24,16,7)
#110D05
(17,13,5)
#0A0A03
(10,10,3)
#000000
(0,0,0)

Tints of #502817

#502817
(80,40,23)
#5F3B2C
(95,59,44)
#6E4E41
(110,78,65)
#7D6156
(125,97,86)
#8C746B
(140,116,107)
#9B8780
(155,135,128)
#AA9A95
(170,154,149)
#B9ADAA
(185,173,170)
#C8C0BF
(200,192,191)
#D7D3D4
(215,211,212)
#E6E6E9
(230,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502817 color. Also use rgb(80,40,23) instead hex code.

Text Font Color

.myTextColor { color: #502817; }

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

This text font color is #502817.

Background Color

.myBgColor { background-color: #502817; }

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

This div background color is #502817.

Border color

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

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

This div border color is #502817.

Opacity

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

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

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

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

This text has shadow with #502817 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #502817.

Preview

Color preview on black background

This text has color #502817 on black background.


Color preview on white background

This text has color #502817 on white background.


Black color preview on #502817 background

This text has black color on #502817 background.


White color preview on #502817 background

This text has white color on #502817 background.


Related colors

Complementary color

Complementary color for #hex is #AFD7E8.


I love getcolorcode.com

Triadic colors

1 #175028 and #281750 with #502817 are triadic colors.

2 #172850 and #285017 with #502817 are triadic colors.