HEX: #6D185A
RGB: (109,24,90)
#6D185A contains mainly red and blue colors. Web safe color of #6D185A is #660066 (or #606).
#6D185A color RGB value is (109,24,90).
RGB: (109,24,90) (43%,9%,35%)
R 109 of 255 = 43%
G 24 of 255 = 9%
B 90 of 255 = 35%
R + G + B ~ 29%. #6D185A is quite dark color.
R + G + B =
109 + 24 + 90 = 223 (100%)
R 109 of 223 ~ 48.88%
G 24 of 223 ~ 10.76%
B 90 of 223 ~ 40.36%
#6D185A color CMYK value is (0,78,17,57).
CMYK: (0,78,17,57) C0M78Y17K57 (0%,78%,17%,57%) (0.00/0.78/0.17/0.57)
6D | 18 | 5A | |
---|---|---|---|
RGB | 109 | 24 | 90 |
HSL | 313° | 63.91% | 26.08% |
HSB/HSV | 313° | 77.98% | 42.75% |
CMYK | 0.00% | 77.98% | 17.43% |
57.25% |
HEX | 6D | 18 | 5A |
Decimal | 109 | 24 | 90 |
Binary | 1101101 | 11000 | 1011010 |
Octal | 155 | 30 | 132 |
Examples of css and html codes for elements with #6D185A color. Also use rgb(109,24,90) instead hex code.
.myTextColor { color: #6D185A; }
<p style="color:#6D185A">This sample text font color is #6D185A.</p>
This text font color is #6D185A.
.myBgColor { background-color: #6D185A; }
<div style="background-color:#6D185A">Inner text</div>
This div background color is #6D185A.
.myBorderColor { border: 1px solid #6D185A; }
<div style="border:3px solid #6D185A">Div</div>
This div border color is #6D185A.
.myOpacity80 { color: #6D185A; opacity: 0.8; }
<p style="color:#6D185A;opacity:0.8;">80%</p>
Text with #6D185A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D185A;}
<p style="text-shadow: 3px 3px 1px #6D185A">Text here.</p>
This text has shadow with #6D185A color.
.textShadow {text-shadow: 3px 3px 1px #6D185A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D185A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D185A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D185A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D185A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D185A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D185A; -webkit-box-shadow: 1px 1px 3px 2px #6D185A; box-shadow: 1px 1px 3px 2px #6D185A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D185A; -webkit-box-shadow: 1px 1px 3px 2px #6D185A; box-shadow:1px 1px 3px 2px #6D185A;">
Div content here</div>
This text has color #6D185A on black background.
This text has color #6D185A on white background.
This text has black color on #6D185A background.
This text has white color on #6D185A background.