HEX: #300059
RGB: (48,0,89)
#300059 contains only red and blue colors. Web safe color of #300059 is #330066 (or #306).
#300059 color RGB value is (48,0,89).
RGB: (48,0,89) (19%,0%,35%)
R 48 of 255 = 19%
G 0 of 255 = 0%
B 89 of 255 = 35%
R + G + B ~ 18%. #300059 is dark color.
R + G + B =
48 + 0 + 89 = 137 (100%)
R 48 of 137 ~ 35.04%
G 0 of 137 ~ 0%
B 89 of 137 ~ 64.96%
#300059 color CMYK value is (46,100,0,65).
CMYK: (46,100,0,65) C46M100Y0K65 (46%,100%,0%,65%) (0.46/1.00/0.00/0.65)
30 | 00 | 59 | |
---|---|---|---|
RGB | 48 | 0 | 89 |
HSL | 272° | 100.00% | 17.45% |
HSB/HSV | 272° | 100.00% | 34.90% |
CMYK | 46.07% | 100.00% | 0.00% |
65.10% |
HEX | 30 | 00 | 59 |
Decimal | 48 | 0 | 89 |
Binary | 110000 | 0 | 1011001 |
Octal | 60 | 0 | 131 |
Examples of css and html codes for elements with #300059 color. Also use rgb(48,0,89) instead hex code.
.myTextColor { color: #300059; }
<p style="color:#300059">This sample text font color is #300059.</p>
This text font color is #300059.
.myBgColor { background-color: #300059; }
<div style="background-color:#300059">Inner text</div>
This div background color is #300059.
.myBorderColor { border: 1px solid #300059; }
<div style="border:3px solid #300059">Div</div>
This div border color is #300059.
.myOpacity80 { color: #300059; opacity: 0.8; }
<p style="color:#300059;opacity:0.8;">80%</p>
Text with #300059 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #300059;}
<p style="text-shadow: 3px 3px 1px #300059">Text here.</p>
This text has shadow with #300059 color.
.textShadow {text-shadow: 3px 3px 1px #300059, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #300059, 5px 5px 20px red">Text here.</p>
This text has shadow with #300059 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#300059, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#300059, Direction=45, Strength=4)">Text</p>
This text has shadow with #300059 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #300059; -webkit-box-shadow: 1px 1px 3px 2px #300059; box-shadow: 1px 1px 3px 2px #300059; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #300059; -webkit-box-shadow: 1px 1px 3px 2px #300059; box-shadow:1px 1px 3px 2px #300059;">
Div content here</div>
This text has color #300059 on black background.
This text has color #300059 on white background.
This text has black color on #300059 background.
This text has white color on #300059 background.