HEX: #6C488F
RGB: (108,72,143)
#6C488F contains mainly red and blue colors. Web safe color of #6C488F is #663399 (or #639).
#6C488F color RGB value is (108,72,143).
RGB: (108,72,143) (42%,28%,56%)
R 108 of 255 = 42%
G 72 of 255 = 28%
B 143 of 255 = 56%
R + G + B ~ 42%. #6C488F is middle color (not dark and not light).
R + G + B =
108 + 72 + 143 = 323 (100%)
R 108 of 323 ~ 33.44%
G 72 of 323 ~ 22.29%
B 143 of 323 ~ 44.27%
#6C488F color CMYK value is (24,50,0,44).
CMYK: (24,50,0,44) C24M50Y0K44 (24%,50%,0%,44%) (0.24/0.50/0.00/0.44)
6C | 48 | 8F | |
---|---|---|---|
RGB | 108 | 72 | 143 |
HSL | 270° | 33.02% | 42.16% |
HSB/HSV | 270° | 49.65% | 56.08% |
CMYK | 24.48% | 49.65% | 0.00% |
43.92% |
HEX | 6C | 48 | 8F |
Decimal | 108 | 72 | 143 |
Binary | 1101100 | 1001000 | 10001111 |
Octal | 154 | 110 | 217 |
Examples of css and html codes for elements with #6C488F color. Also use rgb(108,72,143) instead hex code.
.myTextColor { color: #6C488F; }
<p style="color:#6C488F">This sample text font color is #6C488F.</p>
This text font color is #6C488F.
.myBgColor { background-color: #6C488F; }
<div style="background-color:#6C488F">Inner text</div>
This div background color is #6C488F.
.myBorderColor { border: 1px solid #6C488F; }
<div style="border:3px solid #6C488F">Div</div>
This div border color is #6C488F.
.myOpacity80 { color: #6C488F; opacity: 0.8; }
<p style="color:#6C488F;opacity:0.8;">80%</p>
Text with #6C488F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C488F;}
<p style="text-shadow: 3px 3px 1px #6C488F">Text here.</p>
This text has shadow with #6C488F color.
.textShadow {text-shadow: 3px 3px 1px #6C488F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C488F, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C488F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C488F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C488F, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C488F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C488F; -webkit-box-shadow: 1px 1px 3px 2px #6C488F; box-shadow: 1px 1px 3px 2px #6C488F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C488F; -webkit-box-shadow: 1px 1px 3px 2px #6C488F; box-shadow:1px 1px 3px 2px #6C488F;">
Div content here</div>
This text has color #6C488F on black background.
This text has color #6C488F on white background.
This text has black color on #6C488F background.
This text has white color on #6C488F background.