HEX: #3A5ED5
RGB: (58,94,213)
#3A5ED5 contains mainly blue color. Web safe color of #3A5ED5 is #3366CC (or #36C).
#3A5ED5 color RGB value is (58,94,213).
RGB: (58,94,213) (23%,37%,84%)
R 58 of 255 = 23%
G 94 of 255 = 37%
B 213 of 255 = 84%
R + G + B ~ 48%. #3A5ED5 is middle color (not dark and not light).
R + G + B =
58 + 94 + 213 = 365 (100%)
R 58 of 365 ~ 15.89%
G 94 of 365 ~ 25.75%
B 213 of 365 ~ 58.36%
#3A5ED5 color CMYK value is (73,56,0,16).
CMYK: (73,56,0,16) C73M56Y0K16 (73%,56%,0%,16%) (0.73/0.56/0.00/0.16)
3A | 5E | D5 | |
---|---|---|---|
RGB | 58 | 94 | 213 |
HSL | 226° | 64.85% | 53.14% |
HSB/HSV | 226° | 72.77% | 83.53% |
CMYK | 72.77% | 55.87% | 0.00% |
16.47% |
HEX | 3A | 5E | D5 |
Decimal | 58 | 94 | 213 |
Binary | 111010 | 1011110 | 11010101 |
Octal | 72 | 136 | 325 |
Examples of css and html codes for elements with #3A5ED5 color. Also use rgb(58,94,213) instead hex code.
.myTextColor { color: #3A5ED5; }
<p style="color:#3A5ED5">This sample text font color is #3A5ED5.</p>
This text font color is #3A5ED5.
.myBgColor { background-color: #3A5ED5; }
<div style="background-color:#3A5ED5">Inner text</div>
This div background color is #3A5ED5.
.myBorderColor { border: 1px solid #3A5ED5; }
<div style="border:3px solid #3A5ED5">Div</div>
This div border color is #3A5ED5.
.myOpacity80 { color: #3A5ED5; opacity: 0.8; }
<p style="color:#3A5ED5;opacity:0.8;">80%</p>
Text with #3A5ED5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #3A5ED5;}
<p style="text-shadow: 3px 3px 1px #3A5ED5">Text here.</p>
This text has shadow with #3A5ED5 color.
.textShadow {text-shadow: 3px 3px 1px #3A5ED5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #3A5ED5, 5px 5px 20px red">Text here.</p>
This text has shadow with #3A5ED5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#3A5ED5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#3A5ED5, Direction=45, Strength=4)">Text</p>
This text has shadow with #3A5ED5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #3A5ED5; -webkit-box-shadow: 1px 1px 3px 2px #3A5ED5; box-shadow: 1px 1px 3px 2px #3A5ED5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #3A5ED5; -webkit-box-shadow: 1px 1px 3px 2px #3A5ED5; box-shadow:1px 1px 3px 2px #3A5ED5;">
Div content here</div>
This text has color #3A5ED5 on black background.
This text has color #3A5ED5 on white background.
This text has black color on #3A5ED5 background.
This text has white color on #3A5ED5 background.