HEX: #4C316E
RGB: (76,49,110)
#4C316E contains mainly red and blue colors. Web safe color of #4C316E is #333366 (or #336).
#4C316E color RGB value is (76,49,110).
RGB: (76,49,110) (30%,19%,43%)
R 76 of 255 = 30%
G 49 of 255 = 19%
B 110 of 255 = 43%
R + G + B ~ 31%. #4C316E is quite dark color.
R + G + B =
76 + 49 + 110 = 235 (100%)
R 76 of 235 ~ 32.34%
G 49 of 235 ~ 20.85%
B 110 of 235 ~ 46.81%
#4C316E color CMYK value is (31,55,0,57).
CMYK: (31,55,0,57) C31M55Y0K57 (31%,55%,0%,57%) (0.31/0.55/0.00/0.57)
4C | 31 | 6E | |
---|---|---|---|
RGB | 76 | 49 | 110 |
HSL | 267° | 38.36% | 31.18% |
HSB/HSV | 267° | 55.45% | 43.14% |
CMYK | 30.91% | 55.45% | 0.00% |
56.86% |
HEX | 4C | 31 | 6E |
Decimal | 76 | 49 | 110 |
Binary | 1001100 | 110001 | 1101110 |
Octal | 114 | 61 | 156 |
Examples of css and html codes for elements with #4C316E color. Also use rgb(76,49,110) instead hex code.
.myTextColor { color: #4C316E; }
<p style="color:#4C316E">This sample text font color is #4C316E.</p>
This text font color is #4C316E.
.myBgColor { background-color: #4C316E; }
<div style="background-color:#4C316E">Inner text</div>
This div background color is #4C316E.
.myBorderColor { border: 1px solid #4C316E; }
<div style="border:3px solid #4C316E">Div</div>
This div border color is #4C316E.
.myOpacity80 { color: #4C316E; opacity: 0.8; }
<p style="color:#4C316E;opacity:0.8;">80%</p>
Text with #4C316E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C316E;}
<p style="text-shadow: 3px 3px 1px #4C316E">Text here.</p>
This text has shadow with #4C316E color.
.textShadow {text-shadow: 3px 3px 1px #4C316E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C316E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C316E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C316E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C316E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C316E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C316E; -webkit-box-shadow: 1px 1px 3px 2px #4C316E; box-shadow: 1px 1px 3px 2px #4C316E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C316E; -webkit-box-shadow: 1px 1px 3px 2px #4C316E; box-shadow:1px 1px 3px 2px #4C316E;">
Div content here</div>
This text has color #4C316E on black background.
This text has color #4C316E on white background.
This text has black color on #4C316E background.
This text has white color on #4C316E background.