HEX: #CC3299
RGB: (204,50,153)
#CC3299 contains mainly red and blue colors. Web safe color of #CC3299 is #CC3399 (or #C39).
#CC3299 color RGB value is (204,50,153).
RGB: (204,50,153) (80%,20%,60%)
R 204 of 255 = 80%
G 50 of 255 = 20%
B 153 of 255 = 60%
R + G + B ~ 53%. #CC3299 is middle color (not dark and not light).
R + G + B =
204 + 50 + 153 = 407 (100%)
R 204 of 407 ~ 50.12%
G 50 of 407 ~ 12.29%
B 153 of 407 ~ 37.59%
#CC3299 color CMYK value is (0,75,25,20).
CMYK: (0,75,25,20) C0M75Y25K20 (0%,75%,25%,20%) (0.00/0.75/0.25/0.20)
CC | 32 | 99 | |
---|---|---|---|
RGB | 204 | 50 | 153 |
HSL | 320° | 60.63% | 49.80% |
HSB/HSV | 320° | 75.49% | 80.00% |
CMYK | 0.00% | 75.49% | 25.00% |
20.00% |
HEX | CC | 32 | 99 |
Decimal | 204 | 50 | 153 |
Binary | 11001100 | 110010 | 10011001 |
Octal | 314 | 62 | 231 |
Examples of css and html codes for elements with #CC3299 color. Also use rgb(204,50,153) instead hex code.
.myTextColor { color: #CC3299; }
<p style="color:#CC3299">This sample text font color is #CC3299.</p>
This text font color is #CC3299.
.myBgColor { background-color: #CC3299; }
<div style="background-color:#CC3299">Inner text</div>
This div background color is #CC3299.
.myBorderColor { border: 1px solid #CC3299; }
<div style="border:3px solid #CC3299">Div</div>
This div border color is #CC3299.
.myOpacity80 { color: #CC3299; opacity: 0.8; }
<p style="color:#CC3299;opacity:0.8;">80%</p>
Text with #CC3299 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC3299;}
<p style="text-shadow: 3px 3px 1px #CC3299">Text here.</p>
This text has shadow with #CC3299 color.
.textShadow {text-shadow: 3px 3px 1px #CC3299, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC3299, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC3299 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC3299, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC3299, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC3299 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC3299; -webkit-box-shadow: 1px 1px 3px 2px #CC3299; box-shadow: 1px 1px 3px 2px #CC3299; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC3299; -webkit-box-shadow: 1px 1px 3px 2px #CC3299; box-shadow:1px 1px 3px 2px #CC3299;">
Div content here</div>
This text has color #CC3299 on black background.
This text has color #CC3299 on white background.
This text has black color on #CC3299 background.
This text has white color on #CC3299 background.