Html Css Color HEX #1F3042 Midnight

📋 copy color: '#1F3042'

red 31 ◦ green 48 ◦ blue 66

#1F3042
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight #1F3042

Tints of Midnight #1F3042

RGB

 RED value IS 31 (12.5% from 255) = 21.38%

 GREEN value IS 48 (19.14% from 255) = 33.1%

 BLUE value IS 66 (26.17% from 255) = 45.52%

R = 21.38%
G = 33.1%
B = 45.52%

CMYK

 C value IS 0.53

 M value IS 0.27

 Y value IS 0

 K value IS 0.74

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#1F3042 (or 0x1F3042) is known color: Midnight. HEX triplet: 1F, 30 and 42. RGB value is (31,48,66). Sum of RGB (Red+Green+Blue) = 31+48+66=145 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.38% from 145); Green value is 48 (19.14% from 255 or 33.10% from 145); Blue value is 66 (26.17% from 255 or 45.52% from 145); Max value from RGB is 66 - color contains mainly: blue. Hex color #1F3042 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F3042 is #E0CFBD. Grayscale: #2C2C2C. Windows color (decimal): -14733246 or 4337695. OLE color: 4337695.

HSL color Cylindrical-coordinate representation of color #1F3042: hue angle of 210.86º degrees, saturation: 0.36, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.53%. Process color model (Four color, CMYK) of #1F3042 is Cyan = 0.53, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.74.

Color convert

RGB 31 48 66 -
CMYK 0.53 0.27 0 0.74
HSL 210.86º 0.36% 0.19% -
HSV(B) 210.86º 0.53% 0.26% -
XYZ 2.61 2.8 5.56 -
YUV 44.97 139.87 118.04 -
System Red Green Blue C M Y K H S L
Decimal 31 48 66 0.53 0.27 0 0.74 210.86 0.36 0.19
Hex 1F 30 42 35 1B 0 4A D3 24 13
Octal 37 60 102 65 33 0 112 323 44 23
Binary 11111 110000 1000010 110101 11011 0 1001010 11010011 100100 10011

Color Harmonies of #1F3042

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F3042

Black with #1F3042

Text Example


Text Example

White with #1F3042

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #1F3042; }

 p { color: rgb(31,48,66); }

 H1.HeaderClassName
 {
   color: #1F3042;
 }
 .AnyTagClassName
 {
   color: #1F3042;
 }
</style>

background-color css

<style>
 a { background-color: #1F3042; }

 a { background-color: rgb(31,48,66); }

 div.DivClassName
 {
   background-color: #1F3042;
 }
 .BgClassName
 {
   background-color: #1F3042;
 }
</style>

border-color css

<style>
 span { border-color: #1F3042; }

 span { border-color: rgb(31,48,66); }

 td.TdClassName
 {
   border-color: #1F3042;
 }
 .TagClassName
 {
   border-color: #1F3042;
 }
</style>