HEX: #C6CD15
RGB: (198,205,21)
#C6CD15 contains mainly red and green colors. Web safe color of #C6CD15 is #CCCC00 (or #CC0).
#C6CD15 color RGB value is (198,205,21).
RGB: (198,205,21) (78%,80%,8%)
R 198 of 255 = 78%
G 205 of 255 = 80%
B 21 of 255 = 8%
R + G + B ~ 55%. #C6CD15 is middle color (not dark and not light).
R + G + B =
198 + 205 + 21 = 424 (100%)
R 198 of 424 ~ 46.7%
G 205 of 424 ~ 48.35%
B 21 of 424 ~ 4.95%
#C6CD15 color CMYK value is (3,0,90,20).
CMYK: (3,0,90,20) C3M0Y90K20 (3%,0%,90%,20%) (0.03/0.00/0.90/0.20)
C6 | CD | 15 | |
---|---|---|---|
RGB | 198 | 205 | 21 |
HSL | 62° | 81.42% | 44.31% |
HSB/HSV | 62° | 89.76% | 80.39% |
CMYK | 3.41% | 0.00% | 89.76% |
19.61% |
HEX | C6 | CD | 15 |
Decimal | 198 | 205 | 21 |
Binary | 11000110 | 11001101 | 10101 |
Octal | 306 | 315 | 25 |
Examples of css and html codes for elements with #C6CD15 color. Also use rgb(198,205,21) instead hex code.
.myTextColor { color: #C6CD15; }
<p style="color:#C6CD15">This sample text font color is #C6CD15.</p>
This text font color is #C6CD15.
.myBgColor { background-color: #C6CD15; }
<div style="background-color:#C6CD15">Inner text</div>
This div background color is #C6CD15.
.myBorderColor { border: 1px solid #C6CD15; }
<div style="border:3px solid #C6CD15">Div</div>
This div border color is #C6CD15.
.myOpacity80 { color: #C6CD15; opacity: 0.8; }
<p style="color:#C6CD15;opacity:0.8;">80%</p>
Text with #C6CD15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6CD15;}
<p style="text-shadow: 3px 3px 1px #C6CD15">Text here.</p>
This text has shadow with #C6CD15 color.
.textShadow {text-shadow: 3px 3px 1px #C6CD15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6CD15, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6CD15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6CD15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6CD15, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6CD15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6CD15; -webkit-box-shadow: 1px 1px 3px 2px #C6CD15; box-shadow: 1px 1px 3px 2px #C6CD15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6CD15; -webkit-box-shadow: 1px 1px 3px 2px #C6CD15; box-shadow:1px 1px 3px 2px #C6CD15;">
Div content here</div>
This text has color #C6CD15 on black background.
This text has color #C6CD15 on white background.
This text has black color on #C6CD15 background.
This text has white color on #C6CD15 background.