HEX: #040301
RGB: (4,3,1)
Il colore #040301 contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #040301 il colore web safe è #000000 (#000).
Il colore 040301 in RGB è definito come 4,3,1
RGB: (4,3,1) (2%,1%,0%)
R 4 da 255 = 2%
G 3 da 255 = 1%
B 1 da 255 = 0%
R + G + B ~ 1%. #040301 colore scuro.
R + G + B =
4 + 3 + 1 = 8 (100%)
R 4 da 8 ~ 50%
G 3 da 8 ~ 37.5%
B 1 da 8 ~ 12.5%
Il colore #040301 in CMYK è definito come 0,25,75,98.
CMYK: (0,25,75,98) C0M25Y75K98 (0%,25%,75%,98%) (0.00/0.25/0.75/0.98)
04 | 03 | 01 | |
---|---|---|---|
RGB | 4 | 3 | 1 |
HSL | 40° | 60.00% | 0.98% |
HSB/HSV | 40° | 75.00% | 1.57% |
CMYK | 0.00% | 25.00% | 75.00% |
98.43% |
Esadicemale | 04 | 03 | 01 |
Decimale | 4 | 3 | 1 |
Binario | 100 | 11 | 1 |
Ottale | 4 | 3 | 1 |
Esempi dei codici css e html per gli elementi di colore #040301. Utilizzate rgb(4,3,1) anche al posto del codice hex.
.myTextColor { color: #040301; }
<p style="color:#040301">This sample text font color is #040301.</p>
Il colore di questo testo è #040301.
.myBgColor { background-color: #040301; }
<div style="background-color:#040301">Inner text</div>
Questo div ha lo sfondo di colore #040301.
.myBorderColor { border: 1px solid #040301; }
<div style="border:3px solid #040301">Div</div>
Questo div ha i bordi di colore 040301.
.myOpacity80 { color: #040301; opacity: 0.8; }
<p style="color:#040301;opacity:0.8;">80%</p>
Il testo di color #040301 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040301;}
<p style="text-shadow: 3px 3px 1px #040301">Text here.</p>
Questo testo ha l'ombra di colore #040301.
.textShadow {text-shadow: 3px 3px 1px #040301, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040301, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #040301 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040301, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040301, Direction=45, Strength=4)">Text</p>
This text has shadow with #040301 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040301; -webkit-box-shadow: 1px 1px 3px 2px #040301; box-shadow: 1px 1px 3px 2px #040301; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040301; -webkit-box-shadow: 1px 1px 3px 2px #040301; box-shadow:1px 1px 3px 2px #040301;">
Div content here</div>
Questo e il testo di colore #040301 sullo sfondo nero.
Questo e il testo di colore #040301 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #040301.
Questo è un testo bianco sullo sfondo del colore #040301.