HEX: #6C5C88
RGB: (108,92,136)
#6C5C88 contains red, green and blue colors in about the same proportion. Web safe color of #6C5C88 is #666699 (or #669).
#6C5C88 color RGB value is (108,92,136).
RGB: (108,92,136) (42%,36%,53%)
R 108 of 255 = 42%
G 92 of 255 = 36%
B 136 of 255 = 53%
R + G + B ~ 44%. #6C5C88 is middle color (not dark and not light).
R + G + B =
108 + 92 + 136 = 336 (100%)
R 108 of 336 ~ 32.14%
G 92 of 336 ~ 27.38%
B 136 of 336 ~ 40.48%
#6C5C88 color CMYK value is (21,32,0,47).
CMYK: (21,32,0,47) C21M32Y0K47 (21%,32%,0%,47%) (0.21/0.32/0.00/0.47)
6C | 5C | 88 | |
---|---|---|---|
RGB | 108 | 92 | 136 |
HSL | 262° | 19.30% | 44.71% |
HSB/HSV | 262° | 32.35% | 53.33% |
CMYK | 20.59% | 32.35% | 0.00% |
46.67% |
HEX | 6C | 5C | 88 |
Decimal | 108 | 92 | 136 |
Binary | 1101100 | 1011100 | 10001000 |
Octal | 154 | 134 | 210 |
Examples of css and html codes for elements with #6C5C88 color. Also use rgb(108,92,136) instead hex code.
.myTextColor { color: #6C5C88; }
<p style="color:#6C5C88">This sample text font color is #6C5C88.</p>
This text font color is #6C5C88.
.myBgColor { background-color: #6C5C88; }
<div style="background-color:#6C5C88">Inner text</div>
This div background color is #6C5C88.
.myBorderColor { border: 1px solid #6C5C88; }
<div style="border:3px solid #6C5C88">Div</div>
This div border color is #6C5C88.
.myOpacity80 { color: #6C5C88; opacity: 0.8; }
<p style="color:#6C5C88;opacity:0.8;">80%</p>
Text with #6C5C88 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C5C88;}
<p style="text-shadow: 3px 3px 1px #6C5C88">Text here.</p>
This text has shadow with #6C5C88 color.
.textShadow {text-shadow: 3px 3px 1px #6C5C88, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C5C88, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C5C88 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C5C88, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C5C88, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C5C88 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C5C88; -webkit-box-shadow: 1px 1px 3px 2px #6C5C88; box-shadow: 1px 1px 3px 2px #6C5C88; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C5C88; -webkit-box-shadow: 1px 1px 3px 2px #6C5C88; box-shadow:1px 1px 3px 2px #6C5C88;">
Div content here</div>
This text has color #6C5C88 on black background.
This text has color #6C5C88 on white background.
This text has black color on #6C5C88 background.
This text has white color on #6C5C88 background.