HEX: #52424F
RGB: (82,66,79)
#52424F contains red, green and blue colors in about the same proportion. Web safe color of #52424F is #663366 (or #636).
#52424F color RGB value is (82,66,79).
RGB: (82,66,79) (32%,26%,31%)
R 82 of 255 = 32%
G 66 of 255 = 26%
B 79 of 255 = 31%
R + G + B ~ 30%. #52424F is quite dark color.
R + G + B =
82 + 66 + 79 = 227 (100%)
R 82 of 227 ~ 36.12%
G 66 of 227 ~ 29.07%
B 79 of 227 ~ 34.8%
#52424F color CMYK value is (0,20,4,68).
CMYK: (0,20,4,68) C0M20Y4K68 (0%,20%,4%,68%) (0.00/0.20/0.04/0.68)
52 | 42 | 4F | |
---|---|---|---|
RGB | 82 | 66 | 79 |
HSL | 311° | 10.81% | 29.02% |
HSB/HSV | 311° | 19.51% | 32.16% |
CMYK | 0.00% | 19.51% | 3.66% |
67.84% |
HEX | 52 | 42 | 4F |
Decimal | 82 | 66 | 79 |
Binary | 1010010 | 1000010 | 1001111 |
Octal | 122 | 102 | 117 |
Examples of css and html codes for elements with #52424F color. Also use rgb(82,66,79) instead hex code.
.myTextColor { color: #52424F; }
<p style="color:#52424F">This sample text font color is #52424F.</p>
This text font color is #52424F.
.myBgColor { background-color: #52424F; }
<div style="background-color:#52424F">Inner text</div>
This div background color is #52424F.
.myBorderColor { border: 1px solid #52424F; }
<div style="border:3px solid #52424F">Div</div>
This div border color is #52424F.
.myOpacity80 { color: #52424F; opacity: 0.8; }
<p style="color:#52424F;opacity:0.8;">80%</p>
Text with #52424F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52424F;}
<p style="text-shadow: 3px 3px 1px #52424F">Text here.</p>
This text has shadow with #52424F color.
.textShadow {text-shadow: 3px 3px 1px #52424F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52424F, 5px 5px 20px red">Text here.</p>
This text has shadow with #52424F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52424F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52424F, Direction=45, Strength=4)">Text</p>
This text has shadow with #52424F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52424F; -webkit-box-shadow: 1px 1px 3px 2px #52424F; box-shadow: 1px 1px 3px 2px #52424F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52424F; -webkit-box-shadow: 1px 1px 3px 2px #52424F; box-shadow:1px 1px 3px 2px #52424F;">
Div content here</div>
This text has color #52424F on black background.
This text has color #52424F on white background.
This text has black color on #52424F background.
This text has white color on #52424F background.