HEX: #6C689C
RGB: (108,104,156)
#6C689C contains red, green and blue colors in about the same proportion. Web safe color of #6C689C is #666699 (or #669).
#6C689C color RGB value is (108,104,156).
RGB: (108,104,156) (42%,41%,61%)
R 108 of 255 = 42%
G 104 of 255 = 41%
B 156 of 255 = 61%
R + G + B ~ 48%. #6C689C is middle color (not dark and not light).
R + G + B =
108 + 104 + 156 = 368 (100%)
R 108 of 368 ~ 29.35%
G 104 of 368 ~ 28.26%
B 156 of 368 ~ 42.39%
#6C689C color CMYK value is (31,33,0,39).
CMYK: (31,33,0,39) C31M33Y0K39 (31%,33%,0%,39%) (0.31/0.33/0.00/0.39)
6C | 68 | 9C | |
---|---|---|---|
RGB | 108 | 104 | 156 |
HSL | 245° | 20.80% | 50.98% |
HSB/HSV | 245° | 33.33% | 61.18% |
CMYK | 30.77% | 33.33% | 0.00% |
38.82% |
HEX | 6C | 68 | 9C |
Decimal | 108 | 104 | 156 |
Binary | 1101100 | 1101000 | 10011100 |
Octal | 154 | 150 | 234 |
Examples of css and html codes for elements with #6C689C color. Also use rgb(108,104,156) instead hex code.
.myTextColor { color: #6C689C; }
<p style="color:#6C689C">This sample text font color is #6C689C.</p>
This text font color is #6C689C.
.myBgColor { background-color: #6C689C; }
<div style="background-color:#6C689C">Inner text</div>
This div background color is #6C689C.
.myBorderColor { border: 1px solid #6C689C; }
<div style="border:3px solid #6C689C">Div</div>
This div border color is #6C689C.
.myOpacity80 { color: #6C689C; opacity: 0.8; }
<p style="color:#6C689C;opacity:0.8;">80%</p>
Text with #6C689C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C689C;}
<p style="text-shadow: 3px 3px 1px #6C689C">Text here.</p>
This text has shadow with #6C689C color.
.textShadow {text-shadow: 3px 3px 1px #6C689C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C689C, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C689C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C689C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C689C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C689C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C689C; -webkit-box-shadow: 1px 1px 3px 2px #6C689C; box-shadow: 1px 1px 3px 2px #6C689C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C689C; -webkit-box-shadow: 1px 1px 3px 2px #6C689C; box-shadow:1px 1px 3px 2px #6C689C;">
Div content here</div>
This text has color #6C689C on black background.
This text has color #6C689C on white background.
This text has black color on #6C689C background.
This text has white color on #6C689C background.