HEX: #CC00FF
RGB: (204,0,255)
#CC00FF contains only red and blue colors. #CC00FF color is web safe color. It maybe written shortly as #C0F.
#CC00FF color RGB value is (204,0,255).
RGB: (204,0,255) (80%,0%,100%)
R 204 of 255 = 80%
G 0 of 255 = 0%
B 255 of 255 = 100%
R + G + B ~ 60%. #CC00FF is middle color (not dark and not light).
R + G + B =
204 + 0 + 255 = 459 (100%)
R 204 of 459 ~ 44.44%
G 0 of 459 ~ 0%
B 255 of 459 ~ 55.56%
#CC00FF color CMYK value is (20,100,0,0).
CMYK: (20,100,0,0) C20M100Y0K0 (20%,100%,0%,0%) (0.20/1.00/0.00/0.00)
CC | 00 | FF | |
---|---|---|---|
RGB | 204 | 0 | 255 |
HSL | 288° | 100.00% | 50.00% |
HSB/HSV | 288° | 100.00% | 100.00% |
CMYK | 20.00% | 100.00% | 0.00% |
0.00% |
HEX | CC | 00 | FF |
Decimal | 204 | 0 | 255 |
Binary | 11001100 | 0 | 11111111 |
Octal | 314 | 0 | 377 |
Examples of css and html codes for elements with #CC00FF color. Also use rgb(204,0,255) instead hex code.
.myTextColor { color: #CC00FF; }
<p style="color:#CC00FF">This sample text font color is #CC00FF.</p>
This text font color is #CC00FF.
.myBgColor { background-color: #CC00FF; }
<div style="background-color:#CC00FF">Inner text</div>
This div background color is #CC00FF.
.myBorderColor { border: 1px solid #CC00FF; }
<div style="border:3px solid #CC00FF">Div</div>
This div border color is #CC00FF.
.myOpacity80 { color: #CC00FF; opacity: 0.8; }
<p style="color:#CC00FF;opacity:0.8;">80%</p>
Text with #CC00FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC00FF;}
<p style="text-shadow: 3px 3px 1px #CC00FF">Text here.</p>
This text has shadow with #CC00FF color.
.textShadow {text-shadow: 3px 3px 1px #CC00FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC00FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC00FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC00FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC00FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC00FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC00FF; -webkit-box-shadow: 1px 1px 3px 2px #CC00FF; box-shadow: 1px 1px 3px 2px #CC00FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC00FF; -webkit-box-shadow: 1px 1px 3px 2px #CC00FF; box-shadow:1px 1px 3px 2px #CC00FF;">
Div content here</div>
This text has color #CC00FF on black background.
This text has color #CC00FF on white background.
This text has black color on #CC00FF background.
This text has white color on #CC00FF background.