HEX: #4C004C
RGB: (76,0,76)
#4C004C contains only red and blue colors. Web safe color of #4C004C is #330033 (or #303).
#4C004C color RGB value is (76,0,76).
RGB: (76,0,76) (30%,0%,30%)
R 76 of 255 = 30%
G 0 of 255 = 0%
B 76 of 255 = 30%
R + G + B ~ 20%. #4C004C is dark color.
R + G + B =
76 + 0 + 76 = 152 (100%)
R 76 of 152 ~ 50%
G 0 of 152 ~ 0%
B 76 of 152 ~ 50%
#4C004C color CMYK value is (0,100,0,70).
CMYK: (0,100,0,70) C0M100Y0K70 (0%,100%,0%,70%) (0.00/1.00/0.00/0.70)
4C | 00 | 4C | |
---|---|---|---|
RGB | 76 | 0 | 76 |
HSL | 300° | 100.00% | 14.90% |
HSB/HSV | 300° | 100.00% | 29.80% |
CMYK | 0.00% | 100.00% | 0.00% |
70.20% |
HEX | 4C | 00 | 4C |
Decimal | 76 | 0 | 76 |
Binary | 1001100 | 0 | 1001100 |
Octal | 114 | 0 | 114 |
Examples of css and html codes for elements with #4C004C color. Also use rgb(76,0,76) instead hex code.
.myTextColor { color: #4C004C; }
<p style="color:#4C004C">This sample text font color is #4C004C.</p>
This text font color is #4C004C.
.myBgColor { background-color: #4C004C; }
<div style="background-color:#4C004C">Inner text</div>
This div background color is #4C004C.
.myBorderColor { border: 1px solid #4C004C; }
<div style="border:3px solid #4C004C">Div</div>
This div border color is #4C004C.
.myOpacity80 { color: #4C004C; opacity: 0.8; }
<p style="color:#4C004C;opacity:0.8;">80%</p>
Text with #4C004C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C004C;}
<p style="text-shadow: 3px 3px 1px #4C004C">Text here.</p>
This text has shadow with #4C004C color.
.textShadow {text-shadow: 3px 3px 1px #4C004C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C004C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C004C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C004C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C004C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C004C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C004C; -webkit-box-shadow: 1px 1px 3px 2px #4C004C; box-shadow: 1px 1px 3px 2px #4C004C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C004C; -webkit-box-shadow: 1px 1px 3px 2px #4C004C; box-shadow:1px 1px 3px 2px #4C004C;">
Div content here</div>
This text has color #4C004C on black background.
This text has color #4C004C on white background.
This text has black color on #4C004C background.
This text has white color on #4C004C background.