HEX: #581B9D
RGB: (88,27,157)
#581B9D contains mainly blue color. Web safe color of #581B9D is #663399 (or #639).
#581B9D color RGB value is (88,27,157).
RGB: (88,27,157) (35%,11%,62%)
R 88 of 255 = 35%
G 27 of 255 = 11%
B 157 of 255 = 62%
R + G + B ~ 36%. #581B9D is quite dark color.
R + G + B =
88 + 27 + 157 = 272 (100%)
R 88 of 272 ~ 32.35%
G 27 of 272 ~ 9.93%
B 157 of 272 ~ 57.72%
#581B9D color CMYK value is (44,83,0,38).
CMYK: (44,83,0,38) C44M83Y0K38 (44%,83%,0%,38%) (0.44/0.83/0.00/0.38)
58 | 1B | 9D | |
---|---|---|---|
RGB | 88 | 27 | 157 |
HSL | 268° | 70.65% | 36.08% |
HSB/HSV | 268° | 82.80% | 61.57% |
CMYK | 43.95% | 82.80% | 0.00% |
38.43% |
HEX | 58 | 1B | 9D |
Decimal | 88 | 27 | 157 |
Binary | 1011000 | 11011 | 10011101 |
Octal | 130 | 33 | 235 |
Examples of css and html codes for elements with #581B9D color. Also use rgb(88,27,157) instead hex code.
.myTextColor { color: #581B9D; }
<p style="color:#581B9D">This sample text font color is #581B9D.</p>
This text font color is #581B9D.
.myBgColor { background-color: #581B9D; }
<div style="background-color:#581B9D">Inner text</div>
This div background color is #581B9D.
.myBorderColor { border: 1px solid #581B9D; }
<div style="border:3px solid #581B9D">Div</div>
This div border color is #581B9D.
.myOpacity80 { color: #581B9D; opacity: 0.8; }
<p style="color:#581B9D;opacity:0.8;">80%</p>
Text with #581B9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #581B9D;}
<p style="text-shadow: 3px 3px 1px #581B9D">Text here.</p>
This text has shadow with #581B9D color.
.textShadow {text-shadow: 3px 3px 1px #581B9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #581B9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #581B9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#581B9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#581B9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #581B9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #581B9D; -webkit-box-shadow: 1px 1px 3px 2px #581B9D; box-shadow: 1px 1px 3px 2px #581B9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #581B9D; -webkit-box-shadow: 1px 1px 3px 2px #581B9D; box-shadow:1px 1px 3px 2px #581B9D;">
Div content here</div>
This text has color #581B9D on black background.
This text has color #581B9D on white background.
This text has black color on #581B9D background.
This text has white color on #581B9D background.