HEX: #C6874B
RGB: (198,135,75)
#C6874B contains mainly red color. Web safe color of #C6874B is #CC9933 (or #C93).
#C6874B color RGB value is (198,135,75).
RGB: (198,135,75) (78%,53%,29%)
R 198 of 255 = 78%
G 135 of 255 = 53%
B 75 of 255 = 29%
R + G + B ~ 53%. #C6874B is middle color (not dark and not light).
R + G + B =
198 + 135 + 75 = 408 (100%)
R 198 of 408 ~ 48.53%
G 135 of 408 ~ 33.09%
B 75 of 408 ~ 18.38%
#C6874B color CMYK value is (0,32,62,22).
CMYK: (0,32,62,22) C0M32Y62K22 (0%,32%,62%,22%) (0.00/0.32/0.62/0.22)
C6 | 87 | 4B | |
---|---|---|---|
RGB | 198 | 135 | 75 |
HSL | 29° | 51.90% | 53.53% |
HSB/HSV | 29° | 62.12% | 77.65% |
CMYK | 0.00% | 31.82% | 62.12% |
22.35% |
HEX | C6 | 87 | 4B |
Decimal | 198 | 135 | 75 |
Binary | 11000110 | 10000111 | 1001011 |
Octal | 306 | 207 | 113 |
Examples of css and html codes for elements with #C6874B color. Also use rgb(198,135,75) instead hex code.
.myTextColor { color: #C6874B; }
<p style="color:#C6874B">This sample text font color is #C6874B.</p>
This text font color is #C6874B.
.myBgColor { background-color: #C6874B; }
<div style="background-color:#C6874B">Inner text</div>
This div background color is #C6874B.
.myBorderColor { border: 1px solid #C6874B; }
<div style="border:3px solid #C6874B">Div</div>
This div border color is #C6874B.
.myOpacity80 { color: #C6874B; opacity: 0.8; }
<p style="color:#C6874B;opacity:0.8;">80%</p>
Text with #C6874B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6874B;}
<p style="text-shadow: 3px 3px 1px #C6874B">Text here.</p>
This text has shadow with #C6874B color.
.textShadow {text-shadow: 3px 3px 1px #C6874B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6874B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6874B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6874B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6874B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6874B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6874B; -webkit-box-shadow: 1px 1px 3px 2px #C6874B; box-shadow: 1px 1px 3px 2px #C6874B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6874B; -webkit-box-shadow: 1px 1px 3px 2px #C6874B; box-shadow:1px 1px 3px 2px #C6874B;">
Div content here</div>
This text has color #C6874B on black background.
This text has color #C6874B on white background.
This text has black color on #C6874B background.
This text has white color on #C6874B background.