HEX: #531D12
RGB: (83,29,18)
#531D12 contains mainly red and green colors. Web safe color of #531D12 is #663300 (or #630).
#531D12 color RGB value is (83,29,18).
RGB: (83,29,18) (33%,11%,7%)
R 83 of 255 = 33%
G 29 of 255 = 11%
B 18 of 255 = 7%
R + G + B ~ 17%. #531D12 is dark color.
R + G + B =
83 + 29 + 18 = 130 (100%)
R 83 of 130 ~ 63.85%
G 29 of 130 ~ 22.31%
B 18 of 130 ~ 13.85%
#531D12 color CMYK value is (0,65,78,67).
CMYK: (0,65,78,67) C0M65Y78K67 (0%,65%,78%,67%) (0.00/0.65/0.78/0.67)
53 | 1D | 12 | |
---|---|---|---|
RGB | 83 | 29 | 18 |
HSL | 10° | 64.36% | 19.80% |
HSB/HSV | 10° | 78.31% | 32.55% |
CMYK | 0.00% | 65.06% | 78.31% |
67.45% |
HEX | 53 | 1D | 12 |
Decimal | 83 | 29 | 18 |
Binary | 1010011 | 11101 | 10010 |
Octal | 123 | 35 | 22 |
Examples of css and html codes for elements with #531D12 color. Also use rgb(83,29,18) instead hex code.
.myTextColor { color: #531D12; }
<p style="color:#531D12">This sample text font color is #531D12.</p>
This text font color is #531D12.
.myBgColor { background-color: #531D12; }
<div style="background-color:#531D12">Inner text</div>
This div background color is #531D12.
.myBorderColor { border: 1px solid #531D12; }
<div style="border:3px solid #531D12">Div</div>
This div border color is #531D12.
.myOpacity80 { color: #531D12; opacity: 0.8; }
<p style="color:#531D12;opacity:0.8;">80%</p>
Text with #531D12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #531D12;}
<p style="text-shadow: 3px 3px 1px #531D12">Text here.</p>
This text has shadow with #531D12 color.
.textShadow {text-shadow: 3px 3px 1px #531D12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #531D12, 5px 5px 20px red">Text here.</p>
This text has shadow with #531D12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#531D12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#531D12, Direction=45, Strength=4)">Text</p>
This text has shadow with #531D12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #531D12; -webkit-box-shadow: 1px 1px 3px 2px #531D12; box-shadow: 1px 1px 3px 2px #531D12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #531D12; -webkit-box-shadow: 1px 1px 3px 2px #531D12; box-shadow:1px 1px 3px 2px #531D12;">
Div content here</div>
This text has color #531D12 on black background.
This text has color #531D12 on white background.
This text has black color on #531D12 background.
This text has white color on #531D12 background.