HEX: #4C276A
RGB: (76,39,106)
#4C276A contains mainly red and blue colors. Web safe color of #4C276A is #333366 (or #336).
#4C276A color RGB value is (76,39,106).
RGB: (76,39,106) (30%,15%,42%)
R 76 of 255 = 30%
G 39 of 255 = 15%
B 106 of 255 = 42%
R + G + B ~ 29%. #4C276A is quite dark color.
R + G + B =
76 + 39 + 106 = 221 (100%)
R 76 of 221 ~ 34.39%
G 39 of 221 ~ 17.65%
B 106 of 221 ~ 47.96%
#4C276A color CMYK value is (28,63,0,58).
CMYK: (28,63,0,58) C28M63Y0K58 (28%,63%,0%,58%) (0.28/0.63/0.00/0.58)
4C | 27 | 6A | |
---|---|---|---|
RGB | 76 | 39 | 106 |
HSL | 273° | 46.21% | 28.43% |
HSB/HSV | 273° | 63.21% | 41.57% |
CMYK | 28.30% | 63.21% | 0.00% |
58.43% |
HEX | 4C | 27 | 6A |
Decimal | 76 | 39 | 106 |
Binary | 1001100 | 100111 | 1101010 |
Octal | 114 | 47 | 152 |
Examples of css and html codes for elements with #4C276A color. Also use rgb(76,39,106) instead hex code.
.myTextColor { color: #4C276A; }
<p style="color:#4C276A">This sample text font color is #4C276A.</p>
This text font color is #4C276A.
.myBgColor { background-color: #4C276A; }
<div style="background-color:#4C276A">Inner text</div>
This div background color is #4C276A.
.myBorderColor { border: 1px solid #4C276A; }
<div style="border:3px solid #4C276A">Div</div>
This div border color is #4C276A.
.myOpacity80 { color: #4C276A; opacity: 0.8; }
<p style="color:#4C276A;opacity:0.8;">80%</p>
Text with #4C276A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C276A;}
<p style="text-shadow: 3px 3px 1px #4C276A">Text here.</p>
This text has shadow with #4C276A color.
.textShadow {text-shadow: 3px 3px 1px #4C276A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C276A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C276A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C276A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C276A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C276A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C276A; -webkit-box-shadow: 1px 1px 3px 2px #4C276A; box-shadow: 1px 1px 3px 2px #4C276A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C276A; -webkit-box-shadow: 1px 1px 3px 2px #4C276A; box-shadow:1px 1px 3px 2px #4C276A;">
Div content here</div>
This text has color #4C276A on black background.
This text has color #4C276A on white background.
This text has black color on #4C276A background.
This text has white color on #4C276A background.