HEX: #8B6A9E
RGB: (139,106,158)
Il colore #8B6A9E contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #8B6A9E il colore web safe è #996699 (#969).
Il colore 8B6A9E in RGB è definito come 139,106,158
RGB: (139,106,158) (55%,42%,62%)
R 139 da 255 = 55%
G 106 da 255 = 42%
B 158 da 255 = 62%
R + G + B ~ 53%. #8B6A9E colore medio (né scuro né chiaro).
R + G + B =
139 + 106 + 158 = 403 (100%)
R 139 da 403 ~ 34.49%
G 106 da 403 ~ 26.3%
B 158 da 403 ~ 39.21%
Il colore #8B6A9E in CMYK è definito come 12,33,0,38.
CMYK: (12,33,0,38) C12M33Y0K38 (12%,33%,0%,38%) (0.12/0.33/0.00/0.38)
8B | 6A | 9E | |
---|---|---|---|
RGB | 139 | 106 | 158 |
HSL | 278° | 21.14% | 51.76% |
HSB/HSV | 278° | 32.91% | 61.96% |
CMYK | 12.03% | 32.91% | 0.00% |
38.04% |
Esadicemale | 8B | 6A | 9E |
Decimale | 139 | 106 | 158 |
Binario | 10001011 | 1101010 | 10011110 |
Ottale | 213 | 152 | 236 |
Esempi dei codici css e html per gli elementi di colore #8B6A9E. Utilizzate rgb(139,106,158) anche al posto del codice hex.
.myTextColor { color: #8B6A9E; }
<p style="color:#8B6A9E">This sample text font color is #8B6A9E.</p>
Il colore di questo testo è #8B6A9E.
.myBgColor { background-color: #8B6A9E; }
<div style="background-color:#8B6A9E">Inner text</div>
Questo div ha lo sfondo di colore #8B6A9E.
.myBorderColor { border: 1px solid #8B6A9E; }
<div style="border:3px solid #8B6A9E">Div</div>
Questo div ha i bordi di colore 8B6A9E.
.myOpacity80 { color: #8B6A9E; opacity: 0.8; }
<p style="color:#8B6A9E;opacity:0.8;">80%</p>
Il testo di color #8B6A9E e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B6A9E;}
<p style="text-shadow: 3px 3px 1px #8B6A9E">Text here.</p>
Questo testo ha l'ombra di colore #8B6A9E.
.textShadow {text-shadow: 3px 3px 1px #8B6A9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B6A9E, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #8B6A9E e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B6A9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B6A9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B6A9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B6A9E; -webkit-box-shadow: 1px 1px 3px 2px #8B6A9E; box-shadow: 1px 1px 3px 2px #8B6A9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B6A9E; -webkit-box-shadow: 1px 1px 3px 2px #8B6A9E; box-shadow:1px 1px 3px 2px #8B6A9E;">
Div content here</div>
Questo e il testo di colore #8B6A9E sullo sfondo nero.
Questo e il testo di colore #8B6A9E sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #8B6A9E.
Questo è un testo bianco sullo sfondo del colore #8B6A9E.