HEX: #A5311A
RGB: (165,49,26)
#A5311A contains mainly red color. Web safe color of #A5311A is #993300 (or #930).
#A5311A color RGB value is (165,49,26).
RGB: (165,49,26) (65%,19%,10%)
R 165 of 255 = 65%
G 49 of 255 = 19%
B 26 of 255 = 10%
R + G + B ~ 31%. #A5311A is quite dark color.
R + G + B =
165 + 49 + 26 = 240 (100%)
R 165 of 240 ~ 68.75%
G 49 of 240 ~ 20.42%
B 26 of 240 ~ 10.83%
#A5311A color CMYK value is (0,70,84,35).
CMYK: (0,70,84,35) C0M70Y84K35 (0%,70%,84%,35%) (0.00/0.70/0.84/0.35)
A5 | 31 | 1A | |
---|---|---|---|
RGB | 165 | 49 | 26 |
HSL | 10° | 72.77% | 37.45% |
HSB/HSV | 10° | 84.24% | 64.71% |
CMYK | 0.00% | 70.30% | 84.24% |
35.29% |
HEX | A5 | 31 | 1A |
Decimal | 165 | 49 | 26 |
Binary | 10100101 | 110001 | 11010 |
Octal | 245 | 61 | 32 |
Examples of css and html codes for elements with #A5311A color. Also use rgb(165,49,26) instead hex code.
.myTextColor { color: #A5311A; }
<p style="color:#A5311A">This sample text font color is #A5311A.</p>
This text font color is #A5311A.
.myBgColor { background-color: #A5311A; }
<div style="background-color:#A5311A">Inner text</div>
This div background color is #A5311A.
.myBorderColor { border: 1px solid #A5311A; }
<div style="border:3px solid #A5311A">Div</div>
This div border color is #A5311A.
.myOpacity80 { color: #A5311A; opacity: 0.8; }
<p style="color:#A5311A;opacity:0.8;">80%</p>
Text with #A5311A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5311A;}
<p style="text-shadow: 3px 3px 1px #A5311A">Text here.</p>
This text has shadow with #A5311A color.
.textShadow {text-shadow: 3px 3px 1px #A5311A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5311A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5311A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5311A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5311A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5311A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5311A; -webkit-box-shadow: 1px 1px 3px 2px #A5311A; box-shadow: 1px 1px 3px 2px #A5311A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5311A; -webkit-box-shadow: 1px 1px 3px 2px #A5311A; box-shadow:1px 1px 3px 2px #A5311A;">
Div content here</div>
This text has color #A5311A on black background.
This text has color #A5311A on white background.
This text has black color on #A5311A background.
This text has white color on #A5311A background.