HEX: #4C315D
RGB: (76,49,93)
#4C315D contains red, green and blue colors in about the same proportion. Web safe color of #4C315D is #333366 (or #336).
#4C315D color RGB value is (76,49,93).
RGB: (76,49,93) (30%,19%,36%)
R 76 of 255 = 30%
G 49 of 255 = 19%
B 93 of 255 = 36%
R + G + B ~ 28%. #4C315D is quite dark color.
R + G + B =
76 + 49 + 93 = 218 (100%)
R 76 of 218 ~ 34.86%
G 49 of 218 ~ 22.48%
B 93 of 218 ~ 42.66%
#4C315D color CMYK value is (18,47,0,64).
CMYK: (18,47,0,64) C18M47Y0K64 (18%,47%,0%,64%) (0.18/0.47/0.00/0.64)
4C | 31 | 5D | |
---|---|---|---|
RGB | 76 | 49 | 93 |
HSL | 277° | 30.99% | 27.84% |
HSB/HSV | 277° | 47.31% | 36.47% |
CMYK | 18.28% | 47.31% | 0.00% |
63.53% |
HEX | 4C | 31 | 5D |
Decimal | 76 | 49 | 93 |
Binary | 1001100 | 110001 | 1011101 |
Octal | 114 | 61 | 135 |
Examples of css and html codes for elements with #4C315D color. Also use rgb(76,49,93) instead hex code.
.myTextColor { color: #4C315D; }
<p style="color:#4C315D">This sample text font color is #4C315D.</p>
This text font color is #4C315D.
.myBgColor { background-color: #4C315D; }
<div style="background-color:#4C315D">Inner text</div>
This div background color is #4C315D.
.myBorderColor { border: 1px solid #4C315D; }
<div style="border:3px solid #4C315D">Div</div>
This div border color is #4C315D.
.myOpacity80 { color: #4C315D; opacity: 0.8; }
<p style="color:#4C315D;opacity:0.8;">80%</p>
Text with #4C315D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C315D;}
<p style="text-shadow: 3px 3px 1px #4C315D">Text here.</p>
This text has shadow with #4C315D color.
.textShadow {text-shadow: 3px 3px 1px #4C315D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C315D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C315D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C315D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C315D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C315D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C315D; -webkit-box-shadow: 1px 1px 3px 2px #4C315D; box-shadow: 1px 1px 3px 2px #4C315D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C315D; -webkit-box-shadow: 1px 1px 3px 2px #4C315D; box-shadow:1px 1px 3px 2px #4C315D;">
Div content here</div>
This text has color #4C315D on black background.
This text has color #4C315D on white background.
This text has black color on #4C315D background.
This text has white color on #4C315D background.