HEX: #6D288E
RGB: (109,40,142)
#6D288E contains mainly red and blue colors. Web safe color of #6D288E is #663399 (or #639).
#6D288E color RGB value is (109,40,142).
RGB: (109,40,142) (43%,16%,56%)
R 109 of 255 = 43%
G 40 of 255 = 16%
B 142 of 255 = 56%
R + G + B ~ 38%. #6D288E is quite dark color.
R + G + B =
109 + 40 + 142 = 291 (100%)
R 109 of 291 ~ 37.46%
G 40 of 291 ~ 13.75%
B 142 of 291 ~ 48.8%
#6D288E color CMYK value is (23,72,0,44).
CMYK: (23,72,0,44) C23M72Y0K44 (23%,72%,0%,44%) (0.23/0.72/0.00/0.44)
6D | 28 | 8E | |
---|---|---|---|
RGB | 109 | 40 | 142 |
HSL | 281° | 56.04% | 35.69% |
HSB/HSV | 281° | 71.83% | 55.69% |
CMYK | 23.24% | 71.83% | 0.00% |
44.31% |
HEX | 6D | 28 | 8E |
Decimal | 109 | 40 | 142 |
Binary | 1101101 | 101000 | 10001110 |
Octal | 155 | 50 | 216 |
Examples of css and html codes for elements with #6D288E color. Also use rgb(109,40,142) instead hex code.
.myTextColor { color: #6D288E; }
<p style="color:#6D288E">This sample text font color is #6D288E.</p>
This text font color is #6D288E.
.myBgColor { background-color: #6D288E; }
<div style="background-color:#6D288E">Inner text</div>
This div background color is #6D288E.
.myBorderColor { border: 1px solid #6D288E; }
<div style="border:3px solid #6D288E">Div</div>
This div border color is #6D288E.
.myOpacity80 { color: #6D288E; opacity: 0.8; }
<p style="color:#6D288E;opacity:0.8;">80%</p>
Text with #6D288E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D288E;}
<p style="text-shadow: 3px 3px 1px #6D288E">Text here.</p>
This text has shadow with #6D288E color.
.textShadow {text-shadow: 3px 3px 1px #6D288E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D288E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D288E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D288E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D288E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D288E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D288E; -webkit-box-shadow: 1px 1px 3px 2px #6D288E; box-shadow: 1px 1px 3px 2px #6D288E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D288E; -webkit-box-shadow: 1px 1px 3px 2px #6D288E; box-shadow:1px 1px 3px 2px #6D288E;">
Div content here</div>
This text has color #6D288E on black background.
This text has color #6D288E on white background.
This text has black color on #6D288E background.
This text has white color on #6D288E background.