HEX: #C6AB6B
RGB: (198,171,107)
#C6AB6B contains mainly red and green colors. Web safe color of #C6AB6B is #CC9966 (or #C96).
#C6AB6B color RGB value is (198,171,107).
RGB: (198,171,107) (78%,67%,42%)
R 198 of 255 = 78%
G 171 of 255 = 67%
B 107 of 255 = 42%
R + G + B ~ 62%. #C6AB6B is quite light color.
R + G + B =
198 + 171 + 107 = 476 (100%)
R 198 of 476 ~ 41.6%
G 171 of 476 ~ 35.92%
B 107 of 476 ~ 22.48%
#C6AB6B color CMYK value is (0,14,46,22).
CMYK: (0,14,46,22) C0M14Y46K22 (0%,14%,46%,22%) (0.00/0.14/0.46/0.22)
C6 | AB | 6B | |
---|---|---|---|
RGB | 198 | 171 | 107 |
HSL | 42° | 44.39% | 59.80% |
HSB/HSV | 42° | 45.96% | 77.65% |
CMYK | 0.00% | 13.64% | 45.96% |
22.35% |
HEX | C6 | AB | 6B |
Decimal | 198 | 171 | 107 |
Binary | 11000110 | 10101011 | 1101011 |
Octal | 306 | 253 | 153 |
Examples of css and html codes for elements with #C6AB6B color. Also use rgb(198,171,107) instead hex code.
.myTextColor { color: #C6AB6B; }
<p style="color:#C6AB6B">This sample text font color is #C6AB6B.</p>
This text font color is #C6AB6B.
.myBgColor { background-color: #C6AB6B; }
<div style="background-color:#C6AB6B">Inner text</div>
This div background color is #C6AB6B.
.myBorderColor { border: 1px solid #C6AB6B; }
<div style="border:3px solid #C6AB6B">Div</div>
This div border color is #C6AB6B.
.myOpacity80 { color: #C6AB6B; opacity: 0.8; }
<p style="color:#C6AB6B;opacity:0.8;">80%</p>
Text with #C6AB6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6AB6B;}
<p style="text-shadow: 3px 3px 1px #C6AB6B">Text here.</p>
This text has shadow with #C6AB6B color.
.textShadow {text-shadow: 3px 3px 1px #C6AB6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6AB6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6AB6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6AB6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6AB6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6AB6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6AB6B; -webkit-box-shadow: 1px 1px 3px 2px #C6AB6B; box-shadow: 1px 1px 3px 2px #C6AB6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6AB6B; -webkit-box-shadow: 1px 1px 3px 2px #C6AB6B; box-shadow:1px 1px 3px 2px #C6AB6B;">
Div content here</div>
This text has color #C6AB6B on black background.
This text has color #C6AB6B on white background.
This text has black color on #C6AB6B background.
This text has white color on #C6AB6B background.