HEX: #3A5FB0
RGB: (58,95,176)
#3A5FB0 contains mainly blue color. Web safe color of #3A5FB0 is #336699 (or #369).
#3A5FB0 color RGB value is (58,95,176).
RGB: (58,95,176) (23%,37%,69%)
R 58 of 255 = 23%
G 95 of 255 = 37%
B 176 of 255 = 69%
R + G + B ~ 43%. #3A5FB0 is middle color (not dark and not light).
R + G + B =
58 + 95 + 176 = 329 (100%)
R 58 of 329 ~ 17.63%
G 95 of 329 ~ 28.88%
B 176 of 329 ~ 53.5%
#3A5FB0 color CMYK value is (67,46,0,31).
CMYK: (67,46,0,31) C67M46Y0K31 (67%,46%,0%,31%) (0.67/0.46/0.00/0.31)
3A | 5F | B0 | |
---|---|---|---|
RGB | 58 | 95 | 176 |
HSL | 221° | 50.43% | 45.88% |
HSB/HSV | 221° | 67.05% | 69.02% |
CMYK | 67.05% | 46.02% | 0.00% |
30.98% |
HEX | 3A | 5F | B0 |
Decimal | 58 | 95 | 176 |
Binary | 111010 | 1011111 | 10110000 |
Octal | 72 | 137 | 260 |
Examples of css and html codes for elements with #3A5FB0 color. Also use rgb(58,95,176) instead hex code.
.myTextColor { color: #3A5FB0; }
<p style="color:#3A5FB0">This sample text font color is #3A5FB0.</p>
This text font color is #3A5FB0.
.myBgColor { background-color: #3A5FB0; }
<div style="background-color:#3A5FB0">Inner text</div>
This div background color is #3A5FB0.
.myBorderColor { border: 1px solid #3A5FB0; }
<div style="border:3px solid #3A5FB0">Div</div>
This div border color is #3A5FB0.
.myOpacity80 { color: #3A5FB0; opacity: 0.8; }
<p style="color:#3A5FB0;opacity:0.8;">80%</p>
Text with #3A5FB0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #3A5FB0;}
<p style="text-shadow: 3px 3px 1px #3A5FB0">Text here.</p>
This text has shadow with #3A5FB0 color.
.textShadow {text-shadow: 3px 3px 1px #3A5FB0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #3A5FB0, 5px 5px 20px red">Text here.</p>
This text has shadow with #3A5FB0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#3A5FB0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#3A5FB0, Direction=45, Strength=4)">Text</p>
This text has shadow with #3A5FB0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #3A5FB0; -webkit-box-shadow: 1px 1px 3px 2px #3A5FB0; box-shadow: 1px 1px 3px 2px #3A5FB0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #3A5FB0; -webkit-box-shadow: 1px 1px 3px 2px #3A5FB0; box-shadow:1px 1px 3px 2px #3A5FB0;">
Div content here</div>
This text has color #3A5FB0 on black background.
This text has color #3A5FB0 on white background.
This text has black color on #3A5FB0 background.
This text has white color on #3A5FB0 background.