HEX: #6D255C
RGB: (109,37,92)
#6D255C contains mainly red and blue colors. Web safe color of #6D255C is #663366 (or #636).
#6D255C color RGB value is (109,37,92).
RGB: (109,37,92) (43%,15%,36%)
R 109 of 255 = 43%
G 37 of 255 = 15%
B 92 of 255 = 36%
R + G + B ~ 31%. #6D255C is quite dark color.
R + G + B =
109 + 37 + 92 = 238 (100%)
R 109 of 238 ~ 45.8%
G 37 of 238 ~ 15.55%
B 92 of 238 ~ 38.66%
#6D255C color CMYK value is (0,66,16,57).
CMYK: (0,66,16,57) C0M66Y16K57 (0%,66%,16%,57%) (0.00/0.66/0.16/0.57)
6D | 25 | 5C | |
---|---|---|---|
RGB | 109 | 37 | 92 |
HSL | 314° | 49.32% | 28.63% |
HSB/HSV | 314° | 66.06% | 42.75% |
CMYK | 0.00% | 66.06% | 15.60% |
57.25% |
HEX | 6D | 25 | 5C |
Decimal | 109 | 37 | 92 |
Binary | 1101101 | 100101 | 1011100 |
Octal | 155 | 45 | 134 |
Examples of css and html codes for elements with #6D255C color. Also use rgb(109,37,92) instead hex code.
.myTextColor { color: #6D255C; }
<p style="color:#6D255C">This sample text font color is #6D255C.</p>
This text font color is #6D255C.
.myBgColor { background-color: #6D255C; }
<div style="background-color:#6D255C">Inner text</div>
This div background color is #6D255C.
.myBorderColor { border: 1px solid #6D255C; }
<div style="border:3px solid #6D255C">Div</div>
This div border color is #6D255C.
.myOpacity80 { color: #6D255C; opacity: 0.8; }
<p style="color:#6D255C;opacity:0.8;">80%</p>
Text with #6D255C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D255C;}
<p style="text-shadow: 3px 3px 1px #6D255C">Text here.</p>
This text has shadow with #6D255C color.
.textShadow {text-shadow: 3px 3px 1px #6D255C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D255C, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D255C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D255C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D255C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D255C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D255C; -webkit-box-shadow: 1px 1px 3px 2px #6D255C; box-shadow: 1px 1px 3px 2px #6D255C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D255C; -webkit-box-shadow: 1px 1px 3px 2px #6D255C; box-shadow:1px 1px 3px 2px #6D255C;">
Div content here</div>
This text has color #6D255C on black background.
This text has color #6D255C on white background.
This text has black color on #6D255C background.
This text has white color on #6D255C background.