HEX: #CC7A7B
RGB: (204,122,123)
#CC7A7B contains mainly red color. Web safe color of #CC7A7B is #CC6666 (or #C66).
#CC7A7B color RGB value is (204,122,123).
RGB: (204,122,123) (80%,48%,48%)
R 204 of 255 = 80%
G 122 of 255 = 48%
B 123 of 255 = 48%
R + G + B ~ 59%. #CC7A7B is middle color (not dark and not light).
R + G + B =
204 + 122 + 123 = 449 (100%)
R 204 of 449 ~ 45.43%
G 122 of 449 ~ 27.17%
B 123 of 449 ~ 27.39%
#CC7A7B color CMYK value is (0,40,40,20).
CMYK: (0,40,40,20) C0M40Y40K20 (0%,40%,40%,20%) (0.00/0.40/0.40/0.20)
CC | 7A | 7B | |
---|---|---|---|
RGB | 204 | 122 | 123 |
HSL | 359° | 44.57% | 63.92% |
HSB/HSV | 359° | 40.20% | 80.00% |
CMYK | 0.00% | 40.20% | 39.71% |
20.00% |
HEX | CC | 7A | 7B |
Decimal | 204 | 122 | 123 |
Binary | 11001100 | 1111010 | 1111011 |
Octal | 314 | 172 | 173 |
Examples of css and html codes for elements with #CC7A7B color. Also use rgb(204,122,123) instead hex code.
.myTextColor { color: #CC7A7B; }
<p style="color:#CC7A7B">This sample text font color is #CC7A7B.</p>
This text font color is #CC7A7B.
.myBgColor { background-color: #CC7A7B; }
<div style="background-color:#CC7A7B">Inner text</div>
This div background color is #CC7A7B.
.myBorderColor { border: 1px solid #CC7A7B; }
<div style="border:3px solid #CC7A7B">Div</div>
This div border color is #CC7A7B.
.myOpacity80 { color: #CC7A7B; opacity: 0.8; }
<p style="color:#CC7A7B;opacity:0.8;">80%</p>
Text with #CC7A7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7A7B;}
<p style="text-shadow: 3px 3px 1px #CC7A7B">Text here.</p>
This text has shadow with #CC7A7B color.
.textShadow {text-shadow: 3px 3px 1px #CC7A7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7A7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7A7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7A7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7A7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7A7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7A7B; -webkit-box-shadow: 1px 1px 3px 2px #CC7A7B; box-shadow: 1px 1px 3px 2px #CC7A7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7A7B; -webkit-box-shadow: 1px 1px 3px 2px #CC7A7B; box-shadow:1px 1px 3px 2px #CC7A7B;">
Div content here</div>
This text has color #CC7A7B on black background.
This text has color #CC7A7B on white background.
This text has black color on #CC7A7B background.
This text has white color on #CC7A7B background.