HEX: #6C4878
RGB: (108,72,120)
#6C4878 contains red, green and blue colors in about the same proportion. Web safe color of #6C4878 is #663366 (or #636).
#6C4878 color RGB value is (108,72,120).
RGB: (108,72,120) (42%,28%,47%)
R 108 of 255 = 42%
G 72 of 255 = 28%
B 120 of 255 = 47%
R + G + B ~ 39%. #6C4878 is quite dark color.
R + G + B =
108 + 72 + 120 = 300 (100%)
R 108 of 300 ~ 36%
G 72 of 300 ~ 24%
B 120 of 300 ~ 40%
#6C4878 color CMYK value is (10,40,0,53).
CMYK: (10,40,0,53) C10M40Y0K53 (10%,40%,0%,53%) (0.10/0.40/0.00/0.53)
6C | 48 | 78 | |
---|---|---|---|
RGB | 108 | 72 | 120 |
HSL | 285° | 25.00% | 37.65% |
HSB/HSV | 285° | 40.00% | 47.06% |
CMYK | 10.00% | 40.00% | 0.00% |
52.94% |
HEX | 6C | 48 | 78 |
Decimal | 108 | 72 | 120 |
Binary | 1101100 | 1001000 | 1111000 |
Octal | 154 | 110 | 170 |
Examples of css and html codes for elements with #6C4878 color. Also use rgb(108,72,120) instead hex code.
.myTextColor { color: #6C4878; }
<p style="color:#6C4878">This sample text font color is #6C4878.</p>
This text font color is #6C4878.
.myBgColor { background-color: #6C4878; }
<div style="background-color:#6C4878">Inner text</div>
This div background color is #6C4878.
.myBorderColor { border: 1px solid #6C4878; }
<div style="border:3px solid #6C4878">Div</div>
This div border color is #6C4878.
.myOpacity80 { color: #6C4878; opacity: 0.8; }
<p style="color:#6C4878;opacity:0.8;">80%</p>
Text with #6C4878 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C4878;}
<p style="text-shadow: 3px 3px 1px #6C4878">Text here.</p>
This text has shadow with #6C4878 color.
.textShadow {text-shadow: 3px 3px 1px #6C4878, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C4878, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C4878 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C4878, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C4878, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C4878 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C4878; -webkit-box-shadow: 1px 1px 3px 2px #6C4878; box-shadow: 1px 1px 3px 2px #6C4878; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C4878; -webkit-box-shadow: 1px 1px 3px 2px #6C4878; box-shadow:1px 1px 3px 2px #6C4878;">
Div content here</div>
This text has color #6C4878 on black background.
This text has color #6C4878 on white background.
This text has black color on #6C4878 background.
This text has white color on #6C4878 background.