HEX: #CEB421
RGB: (206,180,33)
#CEB421 contains mainly red and green colors. Web safe color of #CEB421 is #CCCC33 (or #CC3).
#CEB421 color RGB value is (206,180,33).
RGB: (206,180,33) (81%,71%,13%)
R 206 of 255 = 81%
G 180 of 255 = 71%
B 33 of 255 = 13%
R + G + B ~ 55%. #CEB421 is middle color (not dark and not light).
R + G + B =
206 + 180 + 33 = 419 (100%)
R 206 of 419 ~ 49.16%
G 180 of 419 ~ 42.96%
B 33 of 419 ~ 7.88%
#CEB421 color CMYK value is (0,13,84,19).
CMYK: (0,13,84,19) C0M13Y84K19 (0%,13%,84%,19%) (0.00/0.13/0.84/0.19)
CE | B4 | 21 | |
---|---|---|---|
RGB | 206 | 180 | 33 |
HSL | 51° | 72.38% | 46.86% |
HSB/HSV | 51° | 83.98% | 80.78% |
CMYK | 0.00% | 12.62% | 83.98% |
19.22% |
HEX | CE | B4 | 21 |
Decimal | 206 | 180 | 33 |
Binary | 11001110 | 10110100 | 100001 |
Octal | 316 | 264 | 41 |
Examples of css and html codes for elements with #CEB421 color. Also use rgb(206,180,33) instead hex code.
.myTextColor { color: #CEB421; }
<p style="color:#CEB421">This sample text font color is #CEB421.</p>
This text font color is #CEB421.
.myBgColor { background-color: #CEB421; }
<div style="background-color:#CEB421">Inner text</div>
This div background color is #CEB421.
.myBorderColor { border: 1px solid #CEB421; }
<div style="border:3px solid #CEB421">Div</div>
This div border color is #CEB421.
.myOpacity80 { color: #CEB421; opacity: 0.8; }
<p style="color:#CEB421;opacity:0.8;">80%</p>
Text with #CEB421 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CEB421;}
<p style="text-shadow: 3px 3px 1px #CEB421">Text here.</p>
This text has shadow with #CEB421 color.
.textShadow {text-shadow: 3px 3px 1px #CEB421, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CEB421, 5px 5px 20px red">Text here.</p>
This text has shadow with #CEB421 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CEB421, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CEB421, Direction=45, Strength=4)">Text</p>
This text has shadow with #CEB421 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CEB421; -webkit-box-shadow: 1px 1px 3px 2px #CEB421; box-shadow: 1px 1px 3px 2px #CEB421; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CEB421; -webkit-box-shadow: 1px 1px 3px 2px #CEB421; box-shadow:1px 1px 3px 2px #CEB421;">
Div content here</div>
This text has color #CEB421 on black background.
This text has color #CEB421 on white background.
This text has black color on #CEB421 background.
This text has white color on #CEB421 background.