HEX: #980098
RGB: (152,0,152)
#980098 contains only red and blue colors. Web safe color of #980098 is #990099 (or #909).
#980098 color RGB value is (152,0,152).
RGB: (152,0,152) (60%,0%,60%)
R 152 of 255 = 60%
G 0 of 255 = 0%
B 152 of 255 = 60%
R + G + B ~ 40%. #980098 is middle color (not dark and not light).
R + G + B =
152 + 0 + 152 = 304 (100%)
R 152 of 304 ~ 50%
G 0 of 304 ~ 0%
B 152 of 304 ~ 50%
#980098 color CMYK value is (0,100,0,40).
CMYK: (0,100,0,40) C0M100Y0K40 (0%,100%,0%,40%) (0.00/1.00/0.00/0.40)
98 | 00 | 98 | |
---|---|---|---|
RGB | 152 | 0 | 152 |
HSL | 300° | 100.00% | 29.80% |
HSB/HSV | 300° | 100.00% | 59.61% |
CMYK | 0.00% | 100.00% | 0.00% |
40.39% |
HEX | 98 | 00 | 98 |
Decimal | 152 | 0 | 152 |
Binary | 10011000 | 0 | 10011000 |
Octal | 230 | 0 | 230 |
Examples of css and html codes for elements with #980098 color. Also use rgb(152,0,152) instead hex code.
.myTextColor { color: #980098; }
<p style="color:#980098">This sample text font color is #980098.</p>
This text font color is #980098.
.myBgColor { background-color: #980098; }
<div style="background-color:#980098">Inner text</div>
This div background color is #980098.
.myBorderColor { border: 1px solid #980098; }
<div style="border:3px solid #980098">Div</div>
This div border color is #980098.
.myOpacity80 { color: #980098; opacity: 0.8; }
<p style="color:#980098;opacity:0.8;">80%</p>
Text with #980098 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #980098;}
<p style="text-shadow: 3px 3px 1px #980098">Text here.</p>
This text has shadow with #980098 color.
.textShadow {text-shadow: 3px 3px 1px #980098, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #980098, 5px 5px 20px red">Text here.</p>
This text has shadow with #980098 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#980098, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#980098, Direction=45, Strength=4)">Text</p>
This text has shadow with #980098 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #980098; -webkit-box-shadow: 1px 1px 3px 2px #980098; box-shadow: 1px 1px 3px 2px #980098; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #980098; -webkit-box-shadow: 1px 1px 3px 2px #980098; box-shadow:1px 1px 3px 2px #980098;">
Div content here</div>
This text has color #980098 on black background.
This text has color #980098 on white background.
This text has black color on #980098 background.
This text has white color on #980098 background.