HEX: #C371B5
RGB: (195,113,181)
#C371B5 contains mainly red and blue colors. Web safe color of #C371B5 is #CC66CC (or #C6C).
#C371B5 color RGB value is (195,113,181).
RGB: (195,113,181) (76%,44%,71%)
R 195 of 255 = 76%
G 113 of 255 = 44%
B 181 of 255 = 71%
R + G + B ~ 64%. #C371B5 is quite light color.
R + G + B =
195 + 113 + 181 = 489 (100%)
R 195 of 489 ~ 39.88%
G 113 of 489 ~ 23.11%
B 181 of 489 ~ 37.01%
#C371B5 color CMYK value is (0,42,7,24).
CMYK: (0,42,7,24) C0M42Y7K24 (0%,42%,7%,24%) (0.00/0.42/0.07/0.24)
C3 | 71 | B5 | |
---|---|---|---|
RGB | 195 | 113 | 181 |
HSL | 310° | 40.59% | 60.39% |
HSB/HSV | 310° | 42.05% | 76.47% |
CMYK | 0.00% | 42.05% | 7.18% |
23.53% |
HEX | C3 | 71 | B5 |
Decimal | 195 | 113 | 181 |
Binary | 11000011 | 1110001 | 10110101 |
Octal | 303 | 161 | 265 |
Examples of css and html codes for elements with #C371B5 color. Also use rgb(195,113,181) instead hex code.
.myTextColor { color: #C371B5; }
<p style="color:#C371B5">This sample text font color is #C371B5.</p>
This text font color is #C371B5.
.myBgColor { background-color: #C371B5; }
<div style="background-color:#C371B5">Inner text</div>
This div background color is #C371B5.
.myBorderColor { border: 1px solid #C371B5; }
<div style="border:3px solid #C371B5">Div</div>
This div border color is #C371B5.
.myOpacity80 { color: #C371B5; opacity: 0.8; }
<p style="color:#C371B5;opacity:0.8;">80%</p>
Text with #C371B5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C371B5;}
<p style="text-shadow: 3px 3px 1px #C371B5">Text here.</p>
This text has shadow with #C371B5 color.
.textShadow {text-shadow: 3px 3px 1px #C371B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C371B5, 5px 5px 20px red">Text here.</p>
This text has shadow with #C371B5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C371B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C371B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #C371B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C371B5; -webkit-box-shadow: 1px 1px 3px 2px #C371B5; box-shadow: 1px 1px 3px 2px #C371B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C371B5; -webkit-box-shadow: 1px 1px 3px 2px #C371B5; box-shadow:1px 1px 3px 2px #C371B5;">
Div content here</div>
This text has color #C371B5 on black background.
This text has color #C371B5 on white background.
This text has black color on #C371B5 background.
This text has white color on #C371B5 background.