HEX: #AB6842
RGB: (171,104,66)
#AB6842 contains mainly red color. Web safe color of #AB6842 is #996633 (or #963).
#AB6842 color RGB value is (171,104,66).
RGB: (171,104,66) (67%,41%,26%)
R 171 of 255 = 67%
G 104 of 255 = 41%
B 66 of 255 = 26%
R + G + B ~ 45%. #AB6842 is middle color (not dark and not light).
R + G + B =
171 + 104 + 66 = 341 (100%)
R 171 of 341 ~ 50.15%
G 104 of 341 ~ 30.5%
B 66 of 341 ~ 19.35%
#AB6842 color CMYK value is (0,39,61,33).
CMYK: (0,39,61,33) C0M39Y61K33 (0%,39%,61%,33%) (0.00/0.39/0.61/0.33)
AB | 68 | 42 | |
---|---|---|---|
RGB | 171 | 104 | 66 |
HSL | 22° | 44.30% | 46.47% |
HSB/HSV | 22° | 61.40% | 67.06% |
CMYK | 0.00% | 39.18% | 61.40% |
32.94% |
HEX | AB | 68 | 42 |
Decimal | 171 | 104 | 66 |
Binary | 10101011 | 1101000 | 1000010 |
Octal | 253 | 150 | 102 |
Examples of css and html codes for elements with #AB6842 color. Also use rgb(171,104,66) instead hex code.
.myTextColor { color: #AB6842; }
<p style="color:#AB6842">This sample text font color is #AB6842.</p>
This text font color is #AB6842.
.myBgColor { background-color: #AB6842; }
<div style="background-color:#AB6842">Inner text</div>
This div background color is #AB6842.
.myBorderColor { border: 1px solid #AB6842; }
<div style="border:3px solid #AB6842">Div</div>
This div border color is #AB6842.
.myOpacity80 { color: #AB6842; opacity: 0.8; }
<p style="color:#AB6842;opacity:0.8;">80%</p>
Text with #AB6842 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6842;}
<p style="text-shadow: 3px 3px 1px #AB6842">Text here.</p>
This text has shadow with #AB6842 color.
.textShadow {text-shadow: 3px 3px 1px #AB6842, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6842, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6842 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6842, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6842, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6842 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6842; -webkit-box-shadow: 1px 1px 3px 2px #AB6842; box-shadow: 1px 1px 3px 2px #AB6842; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6842; -webkit-box-shadow: 1px 1px 3px 2px #AB6842; box-shadow:1px 1px 3px 2px #AB6842;">
Div content here</div>
This text has color #AB6842 on black background.
This text has color #AB6842 on white background.
This text has black color on #AB6842 background.
This text has white color on #AB6842 background.