HEX: #A6213B
RGB: (166,33,59)
#A6213B contains mainly red color. Web safe color of #A6213B is #993333 (or #933).
#A6213B color RGB value is (166,33,59).
RGB: (166,33,59) (65%,13%,23%)
R 166 of 255 = 65%
G 33 of 255 = 13%
B 59 of 255 = 23%
R + G + B ~ 34%. #A6213B is quite dark color.
R + G + B =
166 + 33 + 59 = 258 (100%)
R 166 of 258 ~ 64.34%
G 33 of 258 ~ 12.79%
B 59 of 258 ~ 22.87%
#A6213B color CMYK value is (0,80,64,35).
CMYK: (0,80,64,35) C0M80Y64K35 (0%,80%,64%,35%) (0.00/0.80/0.64/0.35)
A6 | 21 | 3B | |
---|---|---|---|
RGB | 166 | 33 | 59 |
HSL | 348° | 66.83% | 39.02% |
HSB/HSV | 348° | 80.12% | 65.10% |
CMYK | 0.00% | 80.12% | 64.46% |
34.90% |
HEX | A6 | 21 | 3B |
Decimal | 166 | 33 | 59 |
Binary | 10100110 | 100001 | 111011 |
Octal | 246 | 41 | 73 |
Examples of css and html codes for elements with #A6213B color. Also use rgb(166,33,59) instead hex code.
.myTextColor { color: #A6213B; }
<p style="color:#A6213B">This sample text font color is #A6213B.</p>
This text font color is #A6213B.
.myBgColor { background-color: #A6213B; }
<div style="background-color:#A6213B">Inner text</div>
This div background color is #A6213B.
.myBorderColor { border: 1px solid #A6213B; }
<div style="border:3px solid #A6213B">Div</div>
This div border color is #A6213B.
.myOpacity80 { color: #A6213B; opacity: 0.8; }
<p style="color:#A6213B;opacity:0.8;">80%</p>
Text with #A6213B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6213B;}
<p style="text-shadow: 3px 3px 1px #A6213B">Text here.</p>
This text has shadow with #A6213B color.
.textShadow {text-shadow: 3px 3px 1px #A6213B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6213B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6213B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6213B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6213B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6213B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6213B; -webkit-box-shadow: 1px 1px 3px 2px #A6213B; box-shadow: 1px 1px 3px 2px #A6213B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6213B; -webkit-box-shadow: 1px 1px 3px 2px #A6213B; box-shadow:1px 1px 3px 2px #A6213B;">
Div content here</div>
This text has color #A6213B on black background.
This text has color #A6213B on white background.
This text has black color on #A6213B background.
This text has white color on #A6213B background.