HEX: #6A0248
RGB: (106,2,72)
#6A0248 contains mainly red and blue colors. Web safe color of #6A0248 is #660033 (or #603).
#6A0248 color RGB value is (106,2,72).
RGB: (106,2,72) (42%,1%,28%)
R 106 of 255 = 42%
G 2 of 255 = 1%
B 72 of 255 = 28%
R + G + B ~ 24%. #6A0248 is dark color.
R + G + B =
106 + 2 + 72 = 180 (100%)
R 106 of 180 ~ 58.89%
G 2 of 180 ~ 1.11%
B 72 of 180 ~ 40%
#6A0248 color CMYK value is (0,98,32,58).
CMYK: (0,98,32,58) C0M98Y32K58 (0%,98%,32%,58%) (0.00/0.98/0.32/0.58)
6A | 02 | 48 | |
---|---|---|---|
RGB | 106 | 2 | 72 |
HSL | 320° | 96.30% | 21.18% |
HSB/HSV | 320° | 98.11% | 41.57% |
CMYK | 0.00% | 98.11% | 32.08% |
58.43% |
HEX | 6A | 02 | 48 |
Decimal | 106 | 2 | 72 |
Binary | 1101010 | 10 | 1001000 |
Octal | 152 | 2 | 110 |
Examples of css and html codes for elements with #6A0248 color. Also use rgb(106,2,72) instead hex code.
.myTextColor { color: #6A0248; }
<p style="color:#6A0248">This sample text font color is #6A0248.</p>
This text font color is #6A0248.
.myBgColor { background-color: #6A0248; }
<div style="background-color:#6A0248">Inner text</div>
This div background color is #6A0248.
.myBorderColor { border: 1px solid #6A0248; }
<div style="border:3px solid #6A0248">Div</div>
This div border color is #6A0248.
.myOpacity80 { color: #6A0248; opacity: 0.8; }
<p style="color:#6A0248;opacity:0.8;">80%</p>
Text with #6A0248 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A0248;}
<p style="text-shadow: 3px 3px 1px #6A0248">Text here.</p>
This text has shadow with #6A0248 color.
.textShadow {text-shadow: 3px 3px 1px #6A0248, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A0248, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A0248 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A0248, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A0248, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A0248 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A0248; -webkit-box-shadow: 1px 1px 3px 2px #6A0248; box-shadow: 1px 1px 3px 2px #6A0248; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A0248; -webkit-box-shadow: 1px 1px 3px 2px #6A0248; box-shadow:1px 1px 3px 2px #6A0248;">
Div content here</div>
This text has color #6A0248 on black background.
This text has color #6A0248 on white background.
This text has black color on #6A0248 background.
This text has white color on #6A0248 background.