HEX: #C98B20
RGB: (201,139,32)
#C98B20 contains mainly red color. Web safe color of #C98B20 is #CC9933 (or #C93).
#C98B20 color RGB value is (201,139,32).
RGB: (201,139,32) (79%,55%,13%)
R 201 of 255 = 79%
G 139 of 255 = 55%
B 32 of 255 = 13%
R + G + B ~ 49%. #C98B20 is middle color (not dark and not light).
R + G + B =
201 + 139 + 32 = 372 (100%)
R 201 of 372 ~ 54.03%
G 139 of 372 ~ 37.37%
B 32 of 372 ~ 8.6%
#C98B20 color CMYK value is (0,31,84,21).
CMYK: (0,31,84,21) C0M31Y84K21 (0%,31%,84%,21%) (0.00/0.31/0.84/0.21)
C9 | 8B | 20 | |
---|---|---|---|
RGB | 201 | 139 | 32 |
HSL | 38° | 72.53% | 45.69% |
HSB/HSV | 38° | 84.08% | 78.82% |
CMYK | 0.00% | 30.85% | 84.08% |
21.18% |
HEX | C9 | 8B | 20 |
Decimal | 201 | 139 | 32 |
Binary | 11001001 | 10001011 | 100000 |
Octal | 311 | 213 | 40 |
Examples of css and html codes for elements with #C98B20 color. Also use rgb(201,139,32) instead hex code.
.myTextColor { color: #C98B20; }
<p style="color:#C98B20">This sample text font color is #C98B20.</p>
This text font color is #C98B20.
.myBgColor { background-color: #C98B20; }
<div style="background-color:#C98B20">Inner text</div>
This div background color is #C98B20.
.myBorderColor { border: 1px solid #C98B20; }
<div style="border:3px solid #C98B20">Div</div>
This div border color is #C98B20.
.myOpacity80 { color: #C98B20; opacity: 0.8; }
<p style="color:#C98B20;opacity:0.8;">80%</p>
Text with #C98B20 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C98B20;}
<p style="text-shadow: 3px 3px 1px #C98B20">Text here.</p>
This text has shadow with #C98B20 color.
.textShadow {text-shadow: 3px 3px 1px #C98B20, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C98B20, 5px 5px 20px red">Text here.</p>
This text has shadow with #C98B20 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C98B20, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C98B20, Direction=45, Strength=4)">Text</p>
This text has shadow with #C98B20 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C98B20; -webkit-box-shadow: 1px 1px 3px 2px #C98B20; box-shadow: 1px 1px 3px 2px #C98B20; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C98B20; -webkit-box-shadow: 1px 1px 3px 2px #C98B20; box-shadow:1px 1px 3px 2px #C98B20;">
Div content here</div>
This text has color #C98B20 on black background.
This text has color #C98B20 on white background.
This text has black color on #C98B20 background.
This text has white color on #C98B20 background.