HEX: #6D1487
RGB: (109,20,135)
#6D1487 contains mainly red and blue colors. Web safe color of #6D1487 is #660099 (or #609).
#6D1487 color RGB value is (109,20,135).
RGB: (109,20,135) (43%,8%,53%)
R 109 of 255 = 43%
G 20 of 255 = 8%
B 135 of 255 = 53%
R + G + B ~ 35%. #6D1487 is quite dark color.
R + G + B =
109 + 20 + 135 = 264 (100%)
R 109 of 264 ~ 41.29%
G 20 of 264 ~ 7.58%
B 135 of 264 ~ 51.14%
#6D1487 color CMYK value is (19,85,0,47).
CMYK: (19,85,0,47) C19M85Y0K47 (19%,85%,0%,47%) (0.19/0.85/0.00/0.47)
6D | 14 | 87 | |
---|---|---|---|
RGB | 109 | 20 | 135 |
HSL | 286° | 74.19% | 30.39% |
HSB/HSV | 286° | 85.19% | 52.94% |
CMYK | 19.26% | 85.19% | 0.00% |
47.06% |
HEX | 6D | 14 | 87 |
Decimal | 109 | 20 | 135 |
Binary | 1101101 | 10100 | 10000111 |
Octal | 155 | 24 | 207 |
Examples of css and html codes for elements with #6D1487 color. Also use rgb(109,20,135) instead hex code.
.myTextColor { color: #6D1487; }
<p style="color:#6D1487">This sample text font color is #6D1487.</p>
This text font color is #6D1487.
.myBgColor { background-color: #6D1487; }
<div style="background-color:#6D1487">Inner text</div>
This div background color is #6D1487.
.myBorderColor { border: 1px solid #6D1487; }
<div style="border:3px solid #6D1487">Div</div>
This div border color is #6D1487.
.myOpacity80 { color: #6D1487; opacity: 0.8; }
<p style="color:#6D1487;opacity:0.8;">80%</p>
Text with #6D1487 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D1487;}
<p style="text-shadow: 3px 3px 1px #6D1487">Text here.</p>
This text has shadow with #6D1487 color.
.textShadow {text-shadow: 3px 3px 1px #6D1487, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D1487, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D1487 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D1487, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D1487, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D1487 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D1487; -webkit-box-shadow: 1px 1px 3px 2px #6D1487; box-shadow: 1px 1px 3px 2px #6D1487; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D1487; -webkit-box-shadow: 1px 1px 3px 2px #6D1487; box-shadow:1px 1px 3px 2px #6D1487;">
Div content here</div>
This text has color #6D1487 on black background.
This text has color #6D1487 on white background.
This text has black color on #6D1487 background.
This text has white color on #6D1487 background.