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