HEX: #462D6E
RGB: (70,45,110)
#462D6E contains mainly red and blue colors. Web safe color of #462D6E is #333366 (or #336).
#462D6E color RGB value is (70,45,110).
RGB: (70,45,110) (27%,18%,43%)
R 70 of 255 = 27%
G 45 of 255 = 18%
B 110 of 255 = 43%
R + G + B ~ 29%. #462D6E is quite dark color.
R + G + B =
70 + 45 + 110 = 225 (100%)
R 70 of 225 ~ 31.11%
G 45 of 225 ~ 20%
B 110 of 225 ~ 48.89%
#462D6E color CMYK value is (36,59,0,57).
CMYK: (36,59,0,57) C36M59Y0K57 (36%,59%,0%,57%) (0.36/0.59/0.00/0.57)
46 | 2D | 6E | |
---|---|---|---|
RGB | 70 | 45 | 110 |
HSL | 263° | 41.94% | 30.39% |
HSB/HSV | 263° | 59.09% | 43.14% |
CMYK | 36.36% | 59.09% | 0.00% |
56.86% |
HEX | 46 | 2D | 6E |
Decimal | 70 | 45 | 110 |
Binary | 1000110 | 101101 | 1101110 |
Octal | 106 | 55 | 156 |
Examples of css and html codes for elements with #462D6E color. Also use rgb(70,45,110) instead hex code.
.myTextColor { color: #462D6E; }
<p style="color:#462D6E">This sample text font color is #462D6E.</p>
This text font color is #462D6E.
.myBgColor { background-color: #462D6E; }
<div style="background-color:#462D6E">Inner text</div>
This div background color is #462D6E.
.myBorderColor { border: 1px solid #462D6E; }
<div style="border:3px solid #462D6E">Div</div>
This div border color is #462D6E.
.myOpacity80 { color: #462D6E; opacity: 0.8; }
<p style="color:#462D6E;opacity:0.8;">80%</p>
Text with #462D6E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #462D6E;}
<p style="text-shadow: 3px 3px 1px #462D6E">Text here.</p>
This text has shadow with #462D6E color.
.textShadow {text-shadow: 3px 3px 1px #462D6E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #462D6E, 5px 5px 20px red">Text here.</p>
This text has shadow with #462D6E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#462D6E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#462D6E, Direction=45, Strength=4)">Text</p>
This text has shadow with #462D6E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #462D6E; -webkit-box-shadow: 1px 1px 3px 2px #462D6E; box-shadow: 1px 1px 3px 2px #462D6E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #462D6E; -webkit-box-shadow: 1px 1px 3px 2px #462D6E; box-shadow:1px 1px 3px 2px #462D6E;">
Div content here</div>
This text has color #462D6E on black background.
This text has color #462D6E on white background.
This text has black color on #462D6E background.
This text has white color on #462D6E background.