HEX: #6C317D
RGB: (108,49,125)
#6C317D contains mainly red and blue colors. Web safe color of #6C317D is #663366 (or #636).
#6C317D color RGB value is (108,49,125).
RGB: (108,49,125) (42%,19%,49%)
R 108 of 255 = 42%
G 49 of 255 = 19%
B 125 of 255 = 49%
R + G + B ~ 37%. #6C317D is quite dark color.
R + G + B =
108 + 49 + 125 = 282 (100%)
R 108 of 282 ~ 38.3%
G 49 of 282 ~ 17.38%
B 125 of 282 ~ 44.33%
#6C317D color CMYK value is (14,61,0,51).
CMYK: (14,61,0,51) C14M61Y0K51 (14%,61%,0%,51%) (0.14/0.61/0.00/0.51)
6C | 31 | 7D | |
---|---|---|---|
RGB | 108 | 49 | 125 |
HSL | 287° | 43.68% | 34.12% |
HSB/HSV | 287° | 60.80% | 49.02% |
CMYK | 13.60% | 60.80% | 0.00% |
50.98% |
HEX | 6C | 31 | 7D |
Decimal | 108 | 49 | 125 |
Binary | 1101100 | 110001 | 1111101 |
Octal | 154 | 61 | 175 |
Examples of css and html codes for elements with #6C317D color. Also use rgb(108,49,125) instead hex code.
.myTextColor { color: #6C317D; }
<p style="color:#6C317D">This sample text font color is #6C317D.</p>
This text font color is #6C317D.
.myBgColor { background-color: #6C317D; }
<div style="background-color:#6C317D">Inner text</div>
This div background color is #6C317D.
.myBorderColor { border: 1px solid #6C317D; }
<div style="border:3px solid #6C317D">Div</div>
This div border color is #6C317D.
.myOpacity80 { color: #6C317D; opacity: 0.8; }
<p style="color:#6C317D;opacity:0.8;">80%</p>
Text with #6C317D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C317D;}
<p style="text-shadow: 3px 3px 1px #6C317D">Text here.</p>
This text has shadow with #6C317D color.
.textShadow {text-shadow: 3px 3px 1px #6C317D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C317D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C317D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C317D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C317D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C317D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C317D; -webkit-box-shadow: 1px 1px 3px 2px #6C317D; box-shadow: 1px 1px 3px 2px #6C317D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C317D; -webkit-box-shadow: 1px 1px 3px 2px #6C317D; box-shadow:1px 1px 3px 2px #6C317D;">
Div content here</div>
This text has color #6C317D on black background.
This text has color #6C317D on white background.
This text has black color on #6C317D background.
This text has white color on #6C317D background.