HEX: #C507B5
RGB: (197,7,181)
#C507B5 contains mainly red and blue colors. Web safe color of #C507B5 is #CC00CC (or #C0C).
#C507B5 color RGB value is (197,7,181).
RGB: (197,7,181) (77%,3%,71%)
R 197 of 255 = 77%
G 7 of 255 = 3%
B 181 of 255 = 71%
R + G + B ~ 50%. #C507B5 is middle color (not dark and not light).
R + G + B =
197 + 7 + 181 = 385 (100%)
R 197 of 385 ~ 51.17%
G 7 of 385 ~ 1.82%
B 181 of 385 ~ 47.01%
#C507B5 color CMYK value is (0,96,8,23).
CMYK: (0,96,8,23) C0M96Y8K23 (0%,96%,8%,23%) (0.00/0.96/0.08/0.23)
C5 | 07 | B5 | |
---|---|---|---|
RGB | 197 | 7 | 181 |
HSL | 305° | 93.14% | 40.00% |
HSB/HSV | 305° | 96.45% | 77.25% |
CMYK | 0.00% | 96.45% | 8.12% |
22.75% |
HEX | C5 | 07 | B5 |
Decimal | 197 | 7 | 181 |
Binary | 11000101 | 111 | 10110101 |
Octal | 305 | 7 | 265 |
Examples of css and html codes for elements with #C507B5 color. Also use rgb(197,7,181) instead hex code.
.myTextColor { color: #C507B5; }
<p style="color:#C507B5">This sample text font color is #C507B5.</p>
This text font color is #C507B5.
.myBgColor { background-color: #C507B5; }
<div style="background-color:#C507B5">Inner text</div>
This div background color is #C507B5.
.myBorderColor { border: 1px solid #C507B5; }
<div style="border:3px solid #C507B5">Div</div>
This div border color is #C507B5.
.myOpacity80 { color: #C507B5; opacity: 0.8; }
<p style="color:#C507B5;opacity:0.8;">80%</p>
Text with #C507B5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C507B5;}
<p style="text-shadow: 3px 3px 1px #C507B5">Text here.</p>
This text has shadow with #C507B5 color.
.textShadow {text-shadow: 3px 3px 1px #C507B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C507B5, 5px 5px 20px red">Text here.</p>
This text has shadow with #C507B5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C507B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C507B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #C507B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C507B5; -webkit-box-shadow: 1px 1px 3px 2px #C507B5; box-shadow: 1px 1px 3px 2px #C507B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C507B5; -webkit-box-shadow: 1px 1px 3px 2px #C507B5; box-shadow:1px 1px 3px 2px #C507B5;">
Div content here</div>
This text has color #C507B5 on black background.
This text has color #C507B5 on white background.
This text has black color on #C507B5 background.
This text has white color on #C507B5 background.