HEX: #997DB4
RGB: (153,125,180)
Il colore #997DB4 contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #997DB4 il colore web safe è #9966CC (#96C).
Il colore 997DB4 in RGB è definito come 153,125,180
RGB: (153,125,180) (60%,49%,71%)
R 153 da 255 = 60%
G 125 da 255 = 49%
B 180 da 255 = 71%
R + G + B ~ 60%. #997DB4 colore medio (né scuro né chiaro).
R + G + B =
153 + 125 + 180 = 458 (100%)
R 153 da 458 ~ 33.41%
G 125 da 458 ~ 27.29%
B 180 da 458 ~ 39.3%
Il colore #997DB4 in CMYK è definito come 15,31,0,29.
CMYK: (15,31,0,29) C15M31Y0K29 (15%,31%,0%,29%) (0.15/0.31/0.00/0.29)
99 | 7D | B4 | |
---|---|---|---|
RGB | 153 | 125 | 180 |
HSL | 271° | 26.83% | 59.80% |
HSB/HSV | 271° | 30.56% | 70.59% |
CMYK | 15.00% | 30.56% | 0.00% |
29.41% |
Esadicemale | 99 | 7D | B4 |
Decimale | 153 | 125 | 180 |
Binario | 10011001 | 1111101 | 10110100 |
Ottale | 231 | 175 | 264 |
Esempi dei codici css e html per gli elementi di colore #997DB4. Utilizzate rgb(153,125,180) anche al posto del codice hex.
.myTextColor { color: #997DB4; }
<p style="color:#997DB4">This sample text font color is #997DB4.</p>
Il colore di questo testo è #997DB4.
.myBgColor { background-color: #997DB4; }
<div style="background-color:#997DB4">Inner text</div>
Questo div ha lo sfondo di colore #997DB4.
.myBorderColor { border: 1px solid #997DB4; }
<div style="border:3px solid #997DB4">Div</div>
Questo div ha i bordi di colore 997DB4.
.myOpacity80 { color: #997DB4; opacity: 0.8; }
<p style="color:#997DB4;opacity:0.8;">80%</p>
Il testo di color #997DB4 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997DB4;}
<p style="text-shadow: 3px 3px 1px #997DB4">Text here.</p>
Questo testo ha l'ombra di colore #997DB4.
.textShadow {text-shadow: 3px 3px 1px #997DB4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997DB4, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #997DB4 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997DB4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997DB4, Direction=45, Strength=4)">Text</p>
This text has shadow with #997DB4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997DB4; -webkit-box-shadow: 1px 1px 3px 2px #997DB4; box-shadow: 1px 1px 3px 2px #997DB4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997DB4; -webkit-box-shadow: 1px 1px 3px 2px #997DB4; box-shadow:1px 1px 3px 2px #997DB4;">
Div content here</div>
Questo e il testo di colore #997DB4 sullo sfondo nero.
Questo e il testo di colore #997DB4 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #997DB4.
Questo è un testo bianco sullo sfondo del colore #997DB4.