HEX: #3A5FE3
RGB: (58,95,227)
#3A5FE3 contains mainly blue color. Web safe color of #3A5FE3 is #3366CC (or #36C).
#3A5FE3 color RGB value is (58,95,227).
RGB: (58,95,227) (23%,37%,89%)
R 58 of 255 = 23%
G 95 of 255 = 37%
B 227 of 255 = 89%
R + G + B ~ 50%. #3A5FE3 is middle color (not dark and not light).
R + G + B =
58 + 95 + 227 = 380 (100%)
R 58 of 380 ~ 15.26%
G 95 of 380 ~ 25%
B 227 of 380 ~ 59.74%
#3A5FE3 color CMYK value is (74,58,0,11).
CMYK: (74,58,0,11) C74M58Y0K11 (74%,58%,0%,11%) (0.74/0.58/0.00/0.11)
3A | 5F | E3 | |
---|---|---|---|
RGB | 58 | 95 | 227 |
HSL | 227° | 75.11% | 55.88% |
HSB/HSV | 227° | 74.45% | 89.02% |
CMYK | 74.45% | 58.15% | 0.00% |
10.98% |
HEX | 3A | 5F | E3 |
Decimal | 58 | 95 | 227 |
Binary | 111010 | 1011111 | 11100011 |
Octal | 72 | 137 | 343 |
Examples of css and html codes for elements with #3A5FE3 color. Also use rgb(58,95,227) instead hex code.
.myTextColor { color: #3A5FE3; }
<p style="color:#3A5FE3">This sample text font color is #3A5FE3.</p>
This text font color is #3A5FE3.
.myBgColor { background-color: #3A5FE3; }
<div style="background-color:#3A5FE3">Inner text</div>
This div background color is #3A5FE3.
.myBorderColor { border: 1px solid #3A5FE3; }
<div style="border:3px solid #3A5FE3">Div</div>
This div border color is #3A5FE3.
.myOpacity80 { color: #3A5FE3; opacity: 0.8; }
<p style="color:#3A5FE3;opacity:0.8;">80%</p>
Text with #3A5FE3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #3A5FE3;}
<p style="text-shadow: 3px 3px 1px #3A5FE3">Text here.</p>
This text has shadow with #3A5FE3 color.
.textShadow {text-shadow: 3px 3px 1px #3A5FE3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #3A5FE3, 5px 5px 20px red">Text here.</p>
This text has shadow with #3A5FE3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#3A5FE3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#3A5FE3, Direction=45, Strength=4)">Text</p>
This text has shadow with #3A5FE3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #3A5FE3; -webkit-box-shadow: 1px 1px 3px 2px #3A5FE3; box-shadow: 1px 1px 3px 2px #3A5FE3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #3A5FE3; -webkit-box-shadow: 1px 1px 3px 2px #3A5FE3; box-shadow:1px 1px 3px 2px #3A5FE3;">
Div content here</div>
This text has color #3A5FE3 on black background.
This text has color #3A5FE3 on white background.
This text has black color on #3A5FE3 background.
This text has white color on #3A5FE3 background.