HEX: #A75252
RGB: (167,82,82)
#A75252 contains mainly red color. Web safe color of #A75252 is #996666 (or #966).
#A75252 color RGB value is (167,82,82).
RGB: (167,82,82) (65%,32%,32%)
R 167 of 255 = 65%
G 82 of 255 = 32%
B 82 of 255 = 32%
R + G + B ~ 43%. #A75252 is middle color (not dark and not light).
R + G + B =
167 + 82 + 82 = 331 (100%)
R 167 of 331 ~ 50.45%
G 82 of 331 ~ 24.77%
B 82 of 331 ~ 24.77%
#A75252 color CMYK value is (0,51,51,35).
CMYK: (0,51,51,35) C0M51Y51K35 (0%,51%,51%,35%) (0.00/0.51/0.51/0.35)
A7 | 52 | 52 | |
---|---|---|---|
RGB | 167 | 82 | 82 |
HSL | 0° | 34.14% | 48.82% |
HSB/HSV | 0° | 50.90% | 65.49% |
CMYK | 0.00% | 50.90% | 50.90% |
34.51% |
HEX | A7 | 52 | 52 |
Decimal | 167 | 82 | 82 |
Binary | 10100111 | 1010010 | 1010010 |
Octal | 247 | 122 | 122 |
Examples of css and html codes for elements with #A75252 color. Also use rgb(167,82,82) instead hex code.
.myTextColor { color: #A75252; }
<p style="color:#A75252">This sample text font color is #A75252.</p>
This text font color is #A75252.
.myBgColor { background-color: #A75252; }
<div style="background-color:#A75252">Inner text</div>
This div background color is #A75252.
.myBorderColor { border: 1px solid #A75252; }
<div style="border:3px solid #A75252">Div</div>
This div border color is #A75252.
.myOpacity80 { color: #A75252; opacity: 0.8; }
<p style="color:#A75252;opacity:0.8;">80%</p>
Text with #A75252 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A75252;}
<p style="text-shadow: 3px 3px 1px #A75252">Text here.</p>
This text has shadow with #A75252 color.
.textShadow {text-shadow: 3px 3px 1px #A75252, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A75252, 5px 5px 20px red">Text here.</p>
This text has shadow with #A75252 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A75252, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A75252, Direction=45, Strength=4)">Text</p>
This text has shadow with #A75252 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A75252; -webkit-box-shadow: 1px 1px 3px 2px #A75252; box-shadow: 1px 1px 3px 2px #A75252; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A75252; -webkit-box-shadow: 1px 1px 3px 2px #A75252; box-shadow:1px 1px 3px 2px #A75252;">
Div content here</div>
This text has color #A75252 on black background.
This text has color #A75252 on white background.
This text has black color on #A75252 background.
This text has white color on #A75252 background.