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