HEX: #CC48B9
RGB: (204,72,185)
#CC48B9 contains mainly red and blue colors. Web safe color of #CC48B9 is #CC33CC (or #C3C).
#CC48B9 color RGB value is (204,72,185).
RGB: (204,72,185) (80%,28%,73%)
R 204 of 255 = 80%
G 72 of 255 = 28%
B 185 of 255 = 73%
R + G + B ~ 60%. #CC48B9 is middle color (not dark and not light).
R + G + B =
204 + 72 + 185 = 461 (100%)
R 204 of 461 ~ 44.25%
G 72 of 461 ~ 15.62%
B 185 of 461 ~ 40.13%
#CC48B9 color CMYK value is (0,65,9,20).
CMYK: (0,65,9,20) C0M65Y9K20 (0%,65%,9%,20%) (0.00/0.65/0.09/0.20)
CC | 48 | B9 | |
---|---|---|---|
RGB | 204 | 72 | 185 |
HSL | 309° | 56.41% | 54.12% |
HSB/HSV | 309° | 64.71% | 80.00% |
CMYK | 0.00% | 64.71% | 9.31% |
20.00% |
HEX | CC | 48 | B9 |
Decimal | 204 | 72 | 185 |
Binary | 11001100 | 1001000 | 10111001 |
Octal | 314 | 110 | 271 |
Examples of css and html codes for elements with #CC48B9 color. Also use rgb(204,72,185) instead hex code.
.myTextColor { color: #CC48B9; }
<p style="color:#CC48B9">This sample text font color is #CC48B9.</p>
This text font color is #CC48B9.
.myBgColor { background-color: #CC48B9; }
<div style="background-color:#CC48B9">Inner text</div>
This div background color is #CC48B9.
.myBorderColor { border: 1px solid #CC48B9; }
<div style="border:3px solid #CC48B9">Div</div>
This div border color is #CC48B9.
.myOpacity80 { color: #CC48B9; opacity: 0.8; }
<p style="color:#CC48B9;opacity:0.8;">80%</p>
Text with #CC48B9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC48B9;}
<p style="text-shadow: 3px 3px 1px #CC48B9">Text here.</p>
This text has shadow with #CC48B9 color.
.textShadow {text-shadow: 3px 3px 1px #CC48B9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC48B9, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC48B9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC48B9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC48B9, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC48B9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC48B9; -webkit-box-shadow: 1px 1px 3px 2px #CC48B9; box-shadow: 1px 1px 3px 2px #CC48B9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC48B9; -webkit-box-shadow: 1px 1px 3px 2px #CC48B9; box-shadow:1px 1px 3px 2px #CC48B9;">
Div content here</div>
This text has color #CC48B9 on black background.
This text has color #CC48B9 on white background.
This text has black color on #CC48B9 background.
This text has white color on #CC48B9 background.