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