HEX: #51329B
RGB: (81,50,155)
#51329B contains mainly blue color. Web safe color of #51329B is #663399 (or #639).
#51329B color RGB value is (81,50,155).
RGB: (81,50,155) (32%,20%,61%)
R 81 of 255 = 32%
G 50 of 255 = 20%
B 155 of 255 = 61%
R + G + B ~ 38%. #51329B is quite dark color.
R + G + B =
81 + 50 + 155 = 286 (100%)
R 81 of 286 ~ 28.32%
G 50 of 286 ~ 17.48%
B 155 of 286 ~ 54.2%
#51329B color CMYK value is (48,68,0,39).
CMYK: (48,68,0,39) C48M68Y0K39 (48%,68%,0%,39%) (0.48/0.68/0.00/0.39)
51 | 32 | 9B | |
---|---|---|---|
RGB | 81 | 50 | 155 |
HSL | 258° | 51.22% | 40.20% |
HSB/HSV | 258° | 67.74% | 60.78% |
CMYK | 47.74% | 67.74% | 0.00% |
39.22% |
HEX | 51 | 32 | 9B |
Decimal | 81 | 50 | 155 |
Binary | 1010001 | 110010 | 10011011 |
Octal | 121 | 62 | 233 |
Examples of css and html codes for elements with #51329B color. Also use rgb(81,50,155) instead hex code.
.myTextColor { color: #51329B; }
<p style="color:#51329B">This sample text font color is #51329B.</p>
This text font color is #51329B.
.myBgColor { background-color: #51329B; }
<div style="background-color:#51329B">Inner text</div>
This div background color is #51329B.
.myBorderColor { border: 1px solid #51329B; }
<div style="border:3px solid #51329B">Div</div>
This div border color is #51329B.
.myOpacity80 { color: #51329B; opacity: 0.8; }
<p style="color:#51329B;opacity:0.8;">80%</p>
Text with #51329B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51329B;}
<p style="text-shadow: 3px 3px 1px #51329B">Text here.</p>
This text has shadow with #51329B color.
.textShadow {text-shadow: 3px 3px 1px #51329B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51329B, 5px 5px 20px red">Text here.</p>
This text has shadow with #51329B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51329B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51329B, Direction=45, Strength=4)">Text</p>
This text has shadow with #51329B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51329B; -webkit-box-shadow: 1px 1px 3px 2px #51329B; box-shadow: 1px 1px 3px 2px #51329B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51329B; -webkit-box-shadow: 1px 1px 3px 2px #51329B; box-shadow:1px 1px 3px 2px #51329B;">
Div content here</div>
This text has color #51329B on black background.
This text has color #51329B on white background.
This text has black color on #51329B background.
This text has white color on #51329B background.