Html Css Color HEX #172942 Midnight

📋 copy color: '#172942'

red 23 ◦ green 41 ◦ blue 66

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

Shades of Midnight #172942

Tints of Midnight #172942

RGB

 RED value IS 23 (9.38% from 255) = 17.69%

 GREEN value IS 41 (16.41% from 255) = 31.54%

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

R = 17.69%
G = 31.54%
B = 50.77%

CMYK

 C value IS 0.65

 M value IS 0.38

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#172942 (or 0x172942) is known color: Midnight. HEX triplet: 17, 29 and 42. RGB value is (23,41,66). Sum of RGB (Red+Green+Blue) = 23+41+66=130 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.69% from 130); Green value is 41 (16.41% from 255 or 31.54% from 130); Blue value is 66 (26.17% from 255 or 50.77% from 130); Max value from RGB is 66 - color contains mainly: blue. Hex color #172942 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172942 is #E8D6BD. Grayscale: #262626. Windows color (decimal): -15259326 or 4335895. OLE color: 4335895.

HSL color Cylindrical-coordinate representation of color #172942: hue angle of 214.88º degrees, saturation: 0.48, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.65%. Process color model (Four color, CMYK) of #172942 is Cyan = 0.65, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.74.

Color convert

RGB 23 41 66 -
CMYK 0.65 0.38 0 0.74
HSL 214.88º 0.48% 0.17% -
HSV(B) 214.88º 0.65% 0.26% -
XYZ 2.13 2.16 5.46 -
YUV 38.47 143.54 116.97 -
System Red Green Blue C M Y K H S L
Decimal 23 41 66 0.65 0.38 0 0.74 214.88 0.48 0.17
Hex 17 29 42 41 26 0 4A D7 30 11
Octal 27 51 102 101 46 0 112 327 60 21
Binary 10111 101001 1000010 1000001 100110 0 1001010 11010111 110000 10001

Color Harmonies of #172942

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #172942

Black with #172942

Text Example


Text Example

White with #172942

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #172942; }

 p { color: rgb(23,41,66); }

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

background-color css

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

 a { background-color: rgb(23,41,66); }

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

border-color css

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

 span { border-color: rgb(23,41,66); }

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