HEX: #371B7E
RGB: (55,27,126)
#371B7E contains mainly blue color. Web safe color of #371B7E is #333366 (or #336).
#371B7E color RGB value is (55,27,126).
RGB: (55,27,126) (22%,11%,49%)
R 55 of 255 = 22%
G 27 of 255 = 11%
B 126 of 255 = 49%
R + G + B ~ 27%. #371B7E is quite dark color.
R + G + B =
55 + 27 + 126 = 208 (100%)
R 55 of 208 ~ 26.44%
G 27 of 208 ~ 12.98%
B 126 of 208 ~ 60.58%
#371B7E color CMYK value is (56,79,0,51).
CMYK: (56,79,0,51) C56M79Y0K51 (56%,79%,0%,51%) (0.56/0.79/0.00/0.51)
37 | 1B | 7E | |
---|---|---|---|
RGB | 55 | 27 | 126 |
HSL | 257° | 64.71% | 30.00% |
HSB/HSV | 257° | 78.57% | 49.41% |
CMYK | 56.35% | 78.57% | 0.00% |
50.59% |
HEX | 37 | 1B | 7E |
Decimal | 55 | 27 | 126 |
Binary | 110111 | 11011 | 1111110 |
Octal | 67 | 33 | 176 |
Examples of css and html codes for elements with #371B7E color. Also use rgb(55,27,126) instead hex code.
.myTextColor { color: #371B7E; }
<p style="color:#371B7E">This sample text font color is #371B7E.</p>
This text font color is #371B7E.
.myBgColor { background-color: #371B7E; }
<div style="background-color:#371B7E">Inner text</div>
This div background color is #371B7E.
.myBorderColor { border: 1px solid #371B7E; }
<div style="border:3px solid #371B7E">Div</div>
This div border color is #371B7E.
.myOpacity80 { color: #371B7E; opacity: 0.8; }
<p style="color:#371B7E;opacity:0.8;">80%</p>
Text with #371B7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #371B7E;}
<p style="text-shadow: 3px 3px 1px #371B7E">Text here.</p>
This text has shadow with #371B7E color.
.textShadow {text-shadow: 3px 3px 1px #371B7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #371B7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #371B7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#371B7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#371B7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #371B7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #371B7E; -webkit-box-shadow: 1px 1px 3px 2px #371B7E; box-shadow: 1px 1px 3px 2px #371B7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #371B7E; -webkit-box-shadow: 1px 1px 3px 2px #371B7E; box-shadow:1px 1px 3px 2px #371B7E;">
Div content here</div>
This text has color #371B7E on black background.
This text has color #371B7E on white background.
This text has black color on #371B7E background.
This text has white color on #371B7E background.