HEX: #C506ED
RGB: (197,6,237)
#C506ED contains mainly red and blue colors. Web safe color of #C506ED is #CC00FF (or #C0F).
#C506ED color RGB value is (197,6,237).
RGB: (197,6,237) (77%,2%,93%)
R 197 of 255 = 77%
G 6 of 255 = 2%
B 237 of 255 = 93%
R + G + B ~ 57%. #C506ED is middle color (not dark and not light).
R + G + B =
197 + 6 + 237 = 440 (100%)
R 197 of 440 ~ 44.77%
G 6 of 440 ~ 1.36%
B 237 of 440 ~ 53.86%
#C506ED color CMYK value is (17,97,0,7).
CMYK: (17,97,0,7) C17M97Y0K7 (17%,97%,0%,7%) (0.17/0.97/0.00/0.07)
C5 | 06 | ED | |
---|---|---|---|
RGB | 197 | 6 | 237 |
HSL | 290° | 95.06% | 47.65% |
HSB/HSV | 290° | 97.47% | 92.94% |
CMYK | 16.88% | 97.47% | 0.00% |
7.06% |
HEX | C5 | 06 | ED |
Decimal | 197 | 6 | 237 |
Binary | 11000101 | 110 | 11101101 |
Octal | 305 | 6 | 355 |
Examples of css and html codes for elements with #C506ED color. Also use rgb(197,6,237) instead hex code.
.myTextColor { color: #C506ED; }
<p style="color:#C506ED">This sample text font color is #C506ED.</p>
This text font color is #C506ED.
.myBgColor { background-color: #C506ED; }
<div style="background-color:#C506ED">Inner text</div>
This div background color is #C506ED.
.myBorderColor { border: 1px solid #C506ED; }
<div style="border:3px solid #C506ED">Div</div>
This div border color is #C506ED.
.myOpacity80 { color: #C506ED; opacity: 0.8; }
<p style="color:#C506ED;opacity:0.8;">80%</p>
Text with #C506ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C506ED;}
<p style="text-shadow: 3px 3px 1px #C506ED">Text here.</p>
This text has shadow with #C506ED color.
.textShadow {text-shadow: 3px 3px 1px #C506ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C506ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #C506ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C506ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C506ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #C506ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C506ED; -webkit-box-shadow: 1px 1px 3px 2px #C506ED; box-shadow: 1px 1px 3px 2px #C506ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C506ED; -webkit-box-shadow: 1px 1px 3px 2px #C506ED; box-shadow:1px 1px 3px 2px #C506ED;">
Div content here</div>
This text has color #C506ED on black background.
This text has color #C506ED on white background.
This text has black color on #C506ED background.
This text has white color on #C506ED background.