HEX: #6C427C
RGB: (108,66,124)
#6C427C contains red, green and blue colors in about the same proportion. Web safe color of #6C427C is #663366 (or #636).
#6C427C color RGB value is (108,66,124).
RGB: (108,66,124) (42%,26%,49%)
R 108 of 255 = 42%
G 66 of 255 = 26%
B 124 of 255 = 49%
R + G + B ~ 39%. #6C427C is quite dark color.
R + G + B =
108 + 66 + 124 = 298 (100%)
R 108 of 298 ~ 36.24%
G 66 of 298 ~ 22.15%
B 124 of 298 ~ 41.61%
#6C427C color CMYK value is (13,47,0,51).
CMYK: (13,47,0,51) C13M47Y0K51 (13%,47%,0%,51%) (0.13/0.47/0.00/0.51)
6C | 42 | 7C | |
---|---|---|---|
RGB | 108 | 66 | 124 |
HSL | 283° | 30.53% | 37.25% |
HSB/HSV | 283° | 46.77% | 48.63% |
CMYK | 12.90% | 46.77% | 0.00% |
51.37% |
HEX | 6C | 42 | 7C |
Decimal | 108 | 66 | 124 |
Binary | 1101100 | 1000010 | 1111100 |
Octal | 154 | 102 | 174 |
Examples of css and html codes for elements with #6C427C color. Also use rgb(108,66,124) instead hex code.
.myTextColor { color: #6C427C; }
<p style="color:#6C427C">This sample text font color is #6C427C.</p>
This text font color is #6C427C.
.myBgColor { background-color: #6C427C; }
<div style="background-color:#6C427C">Inner text</div>
This div background color is #6C427C.
.myBorderColor { border: 1px solid #6C427C; }
<div style="border:3px solid #6C427C">Div</div>
This div border color is #6C427C.
.myOpacity80 { color: #6C427C; opacity: 0.8; }
<p style="color:#6C427C;opacity:0.8;">80%</p>
Text with #6C427C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C427C;}
<p style="text-shadow: 3px 3px 1px #6C427C">Text here.</p>
This text has shadow with #6C427C color.
.textShadow {text-shadow: 3px 3px 1px #6C427C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C427C, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C427C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C427C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C427C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C427C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C427C; -webkit-box-shadow: 1px 1px 3px 2px #6C427C; box-shadow: 1px 1px 3px 2px #6C427C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C427C; -webkit-box-shadow: 1px 1px 3px 2px #6C427C; box-shadow:1px 1px 3px 2px #6C427C;">
Div content here</div>
This text has color #6C427C on black background.
This text has color #6C427C on white background.
This text has black color on #6C427C background.
This text has white color on #6C427C background.