Html Css Color HEX #152271 Midnight Blue

📋 copy color: '#152271'

red 21 ◦ green 34 ◦ blue 113

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

Shades of Midnight Blue #152271

Tints of Midnight Blue #152271

RGB

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

 GREEN value IS 34 (13.67% from 255) = 20.24%

 BLUE value IS 113 (44.53% from 255) = 67.26%

R = 12.5%
G = 20.24%
B = 67.26%

CMYK

 C value IS 0.81

 M value IS 0.70

 Y value IS 0

 K value IS 0.56

RGB Variations

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

Color information

#152271 (or 0x152271) is known color: Midnight Blue. HEX triplet: 15, 22 and 71. RGB value is (21,34,113). Sum of RGB (Red+Green+Blue) = 21+34+113=168 (22% of max value = 765). Red value is 21 (8.59% from 255 or 12.5% from 168); Green value is 34 (13.67% from 255 or 20.24% from 168); Blue value is 113 (44.53% from 255 or 67.26% from 168); Max value from RGB is 113 - color contains mainly: blue. Hex color #152271 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152271 is #EADD8E. Grayscale: #262626. Windows color (decimal): -15392143 or 7414293. OLE color: 7414293.

HSL color Cylindrical-coordinate representation of color #152271: hue angle of 231.52º degrees, saturation: 0.69, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #152271 is Cyan = 0.81, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.56.

Color convert

RGB 21 34 113 -
CMYK 0.81 0.70 0 0.56
HSL 231.52º 0.69% 0.26% -
HSV(B) 231.52º 0.81% 0.44% -
XYZ 3.86 2.5 15.9 -
YUV 39.12 169.69 115.08 -
System Red Green Blue C M Y K H S L
Decimal 21 34 113 0.81 0.70 0 0.56 231.52 0.69 0.26
Hex 15 22 71 51 46 0 38 E8 45 1A
Octal 25 42 161 121 106 0 70 350 105 32
Binary 10101 100010 1110001 1010001 1000110 0 111000 11101000 1000101 11010

Color Harmonies of #152271

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #152271

Black with #152271

Text Example


Text Example

White with #152271

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #152271; }

 p { color: rgb(21,34,113); }

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

background-color css

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

 a { background-color: rgb(21,34,113); }

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

border-color css

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

 span { border-color: rgb(21,34,113); }

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