Html Css Color HEX #1B2878 Midnight Blue

📋 copy color: '#1B2878'

red 27 ◦ green 40 ◦ blue 120

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

Shades of Midnight Blue #1B2878

Tints of Midnight Blue #1B2878

RGB

 RED value IS 27 (10.94% from 255) = 14.44%

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

 BLUE value IS 120 (47.27% from 255) = 64.17%

R = 14.44%
G = 21.39%
B = 64.17%

CMYK

 C value IS 0.78

 M value IS 0.67

 Y value IS 0

 K value IS 0.53

RGB Variations

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

Color information

#1B2878 (or 0x1B2878) is known color: Midnight Blue. HEX triplet: 1B, 28 and 78. RGB value is (27,40,120). Sum of RGB (Red+Green+Blue) = 27+40+120=187 (24% of max value = 765). Red value is 27 (10.94% from 255 or 14.44% from 187); Green value is 40 (16.02% from 255 or 21.39% from 187); Blue value is 120 (47.27% from 255 or 64.17% from 187); Max value from RGB is 120 - color contains mainly: blue. Hex color #1B2878 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2878 is #E4D787. Grayscale: #2C2C2C. Windows color (decimal): -14997384 or 7874587. OLE color: 7874587.

HSL color Cylindrical-coordinate representation of color #1B2878: hue angle of 231.61º degrees, saturation: 0.63, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1B2878 is Cyan = 0.78, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.53.

Color convert

RGB 27 40 120 -
CMYK 0.78 0.67 0 0.53
HSL 231.61º 0.63% 0.29% -
HSV(B) 231.61º 0.78% 0.47% -
XYZ 4.6 3.11 18.13 -
YUV 45.23 170.19 115 -
System Red Green Blue C M Y K H S L
Decimal 27 40 120 0.78 0.67 0 0.53 231.61 0.63 0.29
Hex 1B 28 78 4E 43 0 35 E8 3F 1D
Octal 33 50 170 116 103 0 65 350 77 35
Binary 11011 101000 1111000 1001110 1000011 0 110101 11101000 111111 11101

Color Harmonies of #1B2878

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1B2878

Black with #1B2878

Text Example


Text Example

White with #1B2878

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(27,40,120); }

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

background-color css

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

 a { background-color: rgb(27,40,120); }

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

border-color css

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

 span { border-color: rgb(27,40,120); }

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