Html Css Color HEX #172A42 Midnight

📋 copy color: '#172A42'

red 23 ◦ green 42 ◦ blue 66

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

Shades of Midnight #172A42

Tints of Midnight #172A42

RGB

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

 GREEN value IS 42 (16.8% from 255) = 32.06%

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

R = 17.56%
G = 32.06%
B = 50.38%

CMYK

 C value IS 0.65

 M value IS 0.36

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#172A42 (or 0x172A42) is known color: Midnight. HEX triplet: 17, 2A and 42. RGB value is (23,42,66). Sum of RGB (Red+Green+Blue) = 23+42+66=131 (17% of max value = 765). Red value is 23 (9.38% from 255 or 17.56% from 131); Green value is 42 (16.80% from 255 or 32.06% from 131); Blue value is 66 (26.17% from 255 or 50.38% from 131); Max value from RGB is 66 - color contains mainly: blue. Hex color #172A42 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #172A42 is #E8D5BD. Grayscale: #262626. Windows color (decimal): -15259070 or 4336151. OLE color: 4336151.

HSL color Cylindrical-coordinate representation of color #172A42: hue angle of 213.49º 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 #172A42 is Cyan = 0.65, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.74.

Color convert

RGB 23 42 66 -
CMYK 0.65 0.36 0 0.74
HSL 213.49º 0.48% 0.17% -
HSV(B) 213.49º 0.65% 0.26% -
XYZ 2.16 2.23 5.47 -
YUV 39.06 143.21 116.55 -
System Red Green Blue C M Y K H S L
Decimal 23 42 66 0.65 0.36 0 0.74 213.49 0.48 0.17
Hex 17 2A 42 41 24 0 4A D5 30 11
Octal 27 52 102 101 44 0 112 325 60 21
Binary 10111 101010 1000010 1000001 100100 0 1001010 11010101 110000 10001

Color Harmonies of #172A42

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #172A42

Black with #172A42

Text Example


Text Example

White with #172A42

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #172A42; }

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

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

background-color css

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

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

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

border-color css

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

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

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