HEX: #C48FDC
RGB: (196,143,220)
#C48FDC contains mainly red and blue colors. Web safe color of #C48FDC is #CC99CC (or #C9C).
#C48FDC color RGB value is (196,143,220).
RGB: (196,143,220) (77%,56%,86%)
R 196 of 255 = 77%
G 143 of 255 = 56%
B 220 of 255 = 86%
R + G + B ~ 73%. #C48FDC is quite light color.
R + G + B =
196 + 143 + 220 = 559 (100%)
R 196 of 559 ~ 35.06%
G 143 of 559 ~ 25.58%
B 220 of 559 ~ 39.36%
#C48FDC color CMYK value is (11,35,0,14).
CMYK: (11,35,0,14) C11M35Y0K14 (11%,35%,0%,14%) (0.11/0.35/0.00/0.14)
C4 | 8F | DC | |
---|---|---|---|
RGB | 196 | 143 | 220 |
HSL | 281° | 52.38% | 71.18% |
HSB/HSV | 281° | 35.00% | 86.27% |
CMYK | 10.91% | 35.00% | 0.00% |
13.73% |
HEX | C4 | 8F | DC |
Decimal | 196 | 143 | 220 |
Binary | 11000100 | 10001111 | 11011100 |
Octal | 304 | 217 | 334 |
Examples of css and html codes for elements with #C48FDC color. Also use rgb(196,143,220) instead hex code.
.myTextColor { color: #C48FDC; }
<p style="color:#C48FDC">This sample text font color is #C48FDC.</p>
This text font color is #C48FDC.
.myBgColor { background-color: #C48FDC; }
<div style="background-color:#C48FDC">Inner text</div>
This div background color is #C48FDC.
.myBorderColor { border: 1px solid #C48FDC; }
<div style="border:3px solid #C48FDC">Div</div>
This div border color is #C48FDC.
.myOpacity80 { color: #C48FDC; opacity: 0.8; }
<p style="color:#C48FDC;opacity:0.8;">80%</p>
Text with #C48FDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C48FDC;}
<p style="text-shadow: 3px 3px 1px #C48FDC">Text here.</p>
This text has shadow with #C48FDC color.
.textShadow {text-shadow: 3px 3px 1px #C48FDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C48FDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #C48FDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C48FDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C48FDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #C48FDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C48FDC; -webkit-box-shadow: 1px 1px 3px 2px #C48FDC; box-shadow: 1px 1px 3px 2px #C48FDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C48FDC; -webkit-box-shadow: 1px 1px 3px 2px #C48FDC; box-shadow:1px 1px 3px 2px #C48FDC;">
Div content here</div>
This text has color #C48FDC on black background.
This text has color #C48FDC on white background.
This text has black color on #C48FDC background.
This text has white color on #C48FDC background.