HEX: #A098FB
RGB: (160,152,251)
#A098FB contains mainly blue color. Web safe color of #A098FB is #9999FF (or #99F).
#A098FB color RGB value is (160,152,251).
RGB: (160,152,251) (63%,60%,98%)
R 160 of 255 = 63%
G 152 of 255 = 60%
B 251 of 255 = 98%
R + G + B ~ 74%. #A098FB is quite light color.
R + G + B =
160 + 152 + 251 = 563 (100%)
R 160 of 563 ~ 28.42%
G 152 of 563 ~ 27%
B 251 of 563 ~ 44.58%
#A098FB color CMYK value is (36,39,0,2).
CMYK: (36,39,0,2) C36M39Y0K2 (36%,39%,0%,2%) (0.36/0.39/0.00/0.02)
A0 | 98 | FB | |
---|---|---|---|
RGB | 160 | 152 | 251 |
HSL | 245° | 92.52% | 79.02% |
HSB/HSV | 245° | 39.44% | 98.43% |
CMYK | 36.25% | 39.44% | 0.00% |
1.57% |
HEX | A0 | 98 | FB |
Decimal | 160 | 152 | 251 |
Binary | 10100000 | 10011000 | 11111011 |
Octal | 240 | 230 | 373 |
Examples of css and html codes for elements with #A098FB color. Also use rgb(160,152,251) instead hex code.
.myTextColor { color: #A098FB; }
<p style="color:#A098FB">This sample text font color is #A098FB.</p>
This text font color is #A098FB.
.myBgColor { background-color: #A098FB; }
<div style="background-color:#A098FB">Inner text</div>
This div background color is #A098FB.
.myBorderColor { border: 1px solid #A098FB; }
<div style="border:3px solid #A098FB">Div</div>
This div border color is #A098FB.
.myOpacity80 { color: #A098FB; opacity: 0.8; }
<p style="color:#A098FB;opacity:0.8;">80%</p>
Text with #A098FB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A098FB;}
<p style="text-shadow: 3px 3px 1px #A098FB">Text here.</p>
This text has shadow with #A098FB color.
.textShadow {text-shadow: 3px 3px 1px #A098FB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A098FB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A098FB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A098FB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A098FB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A098FB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A098FB; -webkit-box-shadow: 1px 1px 3px 2px #A098FB; box-shadow: 1px 1px 3px 2px #A098FB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A098FB; -webkit-box-shadow: 1px 1px 3px 2px #A098FB; box-shadow:1px 1px 3px 2px #A098FB;">
Div content here</div>
This text has color #A098FB on black background.
This text has color #A098FB on white background.
This text has black color on #A098FB background.
This text has white color on #A098FB background.