HEX: #521720
RGB: (82,23,32)
#521720 contains red, green and blue colors in about the same proportion. Web safe color of #521720 is #660033 (or #603).
#521720 color RGB value is (82,23,32).
RGB: (82,23,32) (32%,9%,13%)
R 82 of 255 = 32%
G 23 of 255 = 9%
B 32 of 255 = 13%
R + G + B ~ 18%. #521720 is dark color.
R + G + B =
82 + 23 + 32 = 137 (100%)
R 82 of 137 ~ 59.85%
G 23 of 137 ~ 16.79%
B 32 of 137 ~ 23.36%
#521720 color CMYK value is (0,72,61,68).
CMYK: (0,72,61,68) C0M72Y61K68 (0%,72%,61%,68%) (0.00/0.72/0.61/0.68)
52 | 17 | 20 | |
---|---|---|---|
RGB | 82 | 23 | 32 |
HSL | 351° | 56.19% | 20.59% |
HSB/HSV | 351° | 71.95% | 32.16% |
CMYK | 0.00% | 71.95% | 60.98% |
67.84% |
HEX | 52 | 17 | 20 |
Decimal | 82 | 23 | 32 |
Binary | 1010010 | 10111 | 100000 |
Octal | 122 | 27 | 40 |
Examples of css and html codes for elements with #521720 color. Also use rgb(82,23,32) instead hex code.
.myTextColor { color: #521720; }
<p style="color:#521720">This sample text font color is #521720.</p>
This text font color is #521720.
.myBgColor { background-color: #521720; }
<div style="background-color:#521720">Inner text</div>
This div background color is #521720.
.myBorderColor { border: 1px solid #521720; }
<div style="border:3px solid #521720">Div</div>
This div border color is #521720.
.myOpacity80 { color: #521720; opacity: 0.8; }
<p style="color:#521720;opacity:0.8;">80%</p>
Text with #521720 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521720;}
<p style="text-shadow: 3px 3px 1px #521720">Text here.</p>
This text has shadow with #521720 color.
.textShadow {text-shadow: 3px 3px 1px #521720, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521720, 5px 5px 20px red">Text here.</p>
This text has shadow with #521720 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521720, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521720, Direction=45, Strength=4)">Text</p>
This text has shadow with #521720 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521720; -webkit-box-shadow: 1px 1px 3px 2px #521720; box-shadow: 1px 1px 3px 2px #521720; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521720; -webkit-box-shadow: 1px 1px 3px 2px #521720; box-shadow:1px 1px 3px 2px #521720;">
Div content here</div>
This text has color #521720 on black background.
This text has color #521720 on white background.
This text has black color on #521720 background.
This text has white color on #521720 background.