HEX: #C38BDD
RGB: (195,139,221)
#C38BDD contains mainly red and blue colors. Web safe color of #C38BDD is #CC99CC (or #C9C).
#C38BDD color RGB value is (195,139,221).
RGB: (195,139,221) (76%,55%,87%)
R 195 of 255 = 76%
G 139 of 255 = 55%
B 221 of 255 = 87%
R + G + B ~ 73%. #C38BDD is quite light color.
R + G + B =
195 + 139 + 221 = 555 (100%)
R 195 of 555 ~ 35.14%
G 139 of 555 ~ 25.05%
B 221 of 555 ~ 39.82%
#C38BDD color CMYK value is (12,37,0,13).
CMYK: (12,37,0,13) C12M37Y0K13 (12%,37%,0%,13%) (0.12/0.37/0.00/0.13)
C3 | 8B | DD | |
---|---|---|---|
RGB | 195 | 139 | 221 |
HSL | 281° | 54.67% | 70.59% |
HSB/HSV | 281° | 37.10% | 86.67% |
CMYK | 11.76% | 37.10% | 0.00% |
13.33% |
HEX | C3 | 8B | DD |
Decimal | 195 | 139 | 221 |
Binary | 11000011 | 10001011 | 11011101 |
Octal | 303 | 213 | 335 |
Examples of css and html codes for elements with #C38BDD color. Also use rgb(195,139,221) instead hex code.
.myTextColor { color: #C38BDD; }
<p style="color:#C38BDD">This sample text font color is #C38BDD.</p>
This text font color is #C38BDD.
.myBgColor { background-color: #C38BDD; }
<div style="background-color:#C38BDD">Inner text</div>
This div background color is #C38BDD.
.myBorderColor { border: 1px solid #C38BDD; }
<div style="border:3px solid #C38BDD">Div</div>
This div border color is #C38BDD.
.myOpacity80 { color: #C38BDD; opacity: 0.8; }
<p style="color:#C38BDD;opacity:0.8;">80%</p>
Text with #C38BDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C38BDD;}
<p style="text-shadow: 3px 3px 1px #C38BDD">Text here.</p>
This text has shadow with #C38BDD color.
.textShadow {text-shadow: 3px 3px 1px #C38BDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C38BDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #C38BDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C38BDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C38BDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #C38BDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C38BDD; -webkit-box-shadow: 1px 1px 3px 2px #C38BDD; box-shadow: 1px 1px 3px 2px #C38BDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C38BDD; -webkit-box-shadow: 1px 1px 3px 2px #C38BDD; box-shadow:1px 1px 3px 2px #C38BDD;">
Div content here</div>
This text has color #C38BDD on black background.
This text has color #C38BDD on white background.
This text has black color on #C38BDD background.
This text has white color on #C38BDD background.