HEX: #A52A2A
RGB: (165,42,42)
Color name is Brown. #A52A2A contains mainly red color. Web safe color of #A52A2A is #993333 (or #933).
#A52A2A color RGB value is (165,42,42).
RGB: (165,42,42) (65%,16%,16%)
R 165 of 255 = 65%
G 42 of 255 = 16%
B 42 of 255 = 16%
R + G + B ~ 32%. #A52A2A is quite dark color.
R + G + B =
165 + 42 + 42 = 249 (100%)
R 165 of 249 ~ 66.27%
G 42 of 249 ~ 16.87%
B 42 of 249 ~ 16.87%
#A52A2A color CMYK value is (0,75,75,35).
CMYK: (0,75,75,35) C0M75Y75K35 (0%,75%,75%,35%) (0.00/0.75/0.75/0.35)
A5 | 2A | 2A | |
---|---|---|---|
RGB | 165 | 42 | 42 |
HSL | 0° | 59.42% | 40.59% |
HSB/HSV | 0° | 74.55% | 64.71% |
CMYK | 0.00% | 74.55% | 74.55% |
35.29% |
HEX | A5 | 2A | 2A |
Decimal | 165 | 42 | 42 |
Binary | 10100101 | 101010 | 101010 |
Octal | 245 | 52 | 52 |
Examples of css and html codes for elements with #A52A2A color. Also use rgb(165,42,42) instead hex code.
.myTextColor { color: #A52A2A; }
<p style="color:#A52A2A">This sample text font color is #A52A2A.</p>
This text font color is #A52A2A.
.myBgColor { background-color: #A52A2A; }
<div style="background-color:#A52A2A">Inner text</div>
This div background color is #A52A2A.
.myBorderColor { border: 1px solid #A52A2A; }
<div style="border:3px solid #A52A2A">Div</div>
This div border color is #A52A2A.
.myOpacity80 { color: #A52A2A; opacity: 0.8; }
<p style="color:#A52A2A;opacity:0.8;">80%</p>
Text with #A52A2A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A52A2A;}
<p style="text-shadow: 3px 3px 1px #A52A2A">Text here.</p>
This text has shadow with #A52A2A color.
.textShadow {text-shadow: 3px 3px 1px #A52A2A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A52A2A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A52A2A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A52A2A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A52A2A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A52A2A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A52A2A; -webkit-box-shadow: 1px 1px 3px 2px #A52A2A; box-shadow: 1px 1px 3px 2px #A52A2A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A52A2A; -webkit-box-shadow: 1px 1px 3px 2px #A52A2A; box-shadow:1px 1px 3px 2px #A52A2A;">
Div content here</div>
This text has color #A52A2A on black background.
This text has color #A52A2A on white background.
This text has black color on #A52A2A background.
This text has white color on #A52A2A background.