Html Css Color HEX #152840 Midnight

📋 copy color: '#152840'

red 21 ◦ green 40 ◦ blue 64

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

Shades of Midnight #152840

Tints of Midnight #152840

RGB

 RED value IS 21 (8.59% from 255) = 16.8%

 GREEN value IS 40 (16.02% from 255) = 32%

 BLUE value IS 64 (25.39% from 255) = 51.2%

R = 16.8%
G = 32%
B = 51.2%

CMYK

 C value IS 0.67

 M value IS 0.38

 Y value IS 0

 K value IS 0.75

RGB Variations

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

Color information

#152840 (or 0x152840) is known color: Midnight. HEX triplet: 15, 28 and 40. RGB value is (21,40,64). Sum of RGB (Red+Green+Blue) = 21+40+64=125 (16% of max value = 765). Red value is 21 (8.59% from 255 or 16.8% from 125); Green value is 40 (16.02% from 255 or 32% from 125); Blue value is 64 (25.39% from 255 or 51.2% from 125); Max value from RGB is 64 - color contains mainly: blue. Hex color #152840 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152840 is #EAD7BF. Grayscale: #242424. Windows color (decimal): -15390656 or 4204565. OLE color: 4204565.

HSL color Cylindrical-coordinate representation of color #152840: hue angle of 213.49º degrees, saturation: 0.51, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #152840 is Cyan = 0.67, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.75.

Color convert

RGB 21 40 64 -
CMYK 0.67 0.38 0 0.75
HSL 213.49º 0.51% 0.17% -
HSV(B) 213.49º 0.67% 0.25% -
XYZ 1.99 2.05 5.14 -
YUV 37.06 143.21 116.55 -
System Red Green Blue C M Y K H S L
Decimal 21 40 64 0.67 0.38 0 0.75 213.49 0.51 0.17
Hex 15 28 40 43 26 0 4B D5 33 11
Octal 25 50 100 103 46 0 113 325 63 21
Binary 10101 101000 1000000 1000011 100110 0 1001011 11010101 110011 10001

Color Harmonies of #152840

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #152840

Black with #152840

Text Example


Text Example

White with #152840

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #152840; }

 p { color: rgb(21,40,64); }

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

background-color css

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

 a { background-color: rgb(21,40,64); }

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

border-color css

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

 span { border-color: rgb(21,40,64); }

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