HEX: #CC7DBD
RGB: (204,125,189)
#CC7DBD contains mainly red and blue colors. Web safe color of #CC7DBD is #CC66CC (or #C6C).
#CC7DBD color RGB value is (204,125,189).
RGB: (204,125,189) (80%,49%,74%)
R 204 of 255 = 80%
G 125 of 255 = 49%
B 189 of 255 = 74%
R + G + B ~ 68%. #CC7DBD is quite light color.
R + G + B =
204 + 125 + 189 = 518 (100%)
R 204 of 518 ~ 39.38%
G 125 of 518 ~ 24.13%
B 189 of 518 ~ 36.49%
#CC7DBD color CMYK value is (0,39,7,20).
CMYK: (0,39,7,20) C0M39Y7K20 (0%,39%,7%,20%) (0.00/0.39/0.07/0.20)
CC | 7D | BD | |
---|---|---|---|
RGB | 204 | 125 | 189 |
HSL | 311° | 43.65% | 64.51% |
HSB/HSV | 311° | 38.73% | 80.00% |
CMYK | 0.00% | 38.73% | 7.35% |
20.00% |
HEX | CC | 7D | BD |
Decimal | 204 | 125 | 189 |
Binary | 11001100 | 1111101 | 10111101 |
Octal | 314 | 175 | 275 |
Examples of css and html codes for elements with #CC7DBD color. Also use rgb(204,125,189) instead hex code.
.myTextColor { color: #CC7DBD; }
<p style="color:#CC7DBD">This sample text font color is #CC7DBD.</p>
This text font color is #CC7DBD.
.myBgColor { background-color: #CC7DBD; }
<div style="background-color:#CC7DBD">Inner text</div>
This div background color is #CC7DBD.
.myBorderColor { border: 1px solid #CC7DBD; }
<div style="border:3px solid #CC7DBD">Div</div>
This div border color is #CC7DBD.
.myOpacity80 { color: #CC7DBD; opacity: 0.8; }
<p style="color:#CC7DBD;opacity:0.8;">80%</p>
Text with #CC7DBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7DBD;}
<p style="text-shadow: 3px 3px 1px #CC7DBD">Text here.</p>
This text has shadow with #CC7DBD color.
.textShadow {text-shadow: 3px 3px 1px #CC7DBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7DBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7DBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7DBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7DBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7DBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7DBD; -webkit-box-shadow: 1px 1px 3px 2px #CC7DBD; box-shadow: 1px 1px 3px 2px #CC7DBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7DBD; -webkit-box-shadow: 1px 1px 3px 2px #CC7DBD; box-shadow:1px 1px 3px 2px #CC7DBD;">
Div content here</div>
This text has color #CC7DBD on black background.
This text has color #CC7DBD on white background.
This text has black color on #CC7DBD background.
This text has white color on #CC7DBD background.