Html Css Color HEX #1B2A7E Midnight Blue

📋 copy color: '#1B2A7E'

red 27 ◦ green 42 ◦ blue 126

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

Shades of Midnight Blue #1B2A7E

Tints of Midnight Blue #1B2A7E

RGB

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

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

 BLUE value IS 126 (49.61% from 255) = 64.62%

R = 13.85%
G = 21.54%
B = 64.62%

CMYK

 C value IS 0.79

 M value IS 0.67

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#1B2A7E (or 0x1B2A7E) is known color: Midnight Blue. HEX triplet: 1B, 2A and 7E. RGB value is (27,42,126). Sum of RGB (Red+Green+Blue) = 27+42+126=195 (25% of max value = 765). Red value is 27 (10.94% from 255 or 13.85% from 195); Green value is 42 (16.80% from 255 or 21.54% from 195); Blue value is 126 (49.61% from 255 or 64.62% from 195); Max value from RGB is 126 - color contains mainly: blue. Hex color #1B2A7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2A7E is #E4D581. Grayscale: #2E2E2E. Windows color (decimal): -14996866 or 8268315. OLE color: 8268315.

HSL color Cylindrical-coordinate representation of color #1B2A7E: hue angle of 230.91º degrees, saturation: 0.65, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1B2A7E is Cyan = 0.79, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 27 42 126 -
CMYK 0.79 0.67 0 0.51
HSL 230.91º 0.65% 0.3% -
HSV(B) 230.91º 0.79% 0.49% -
XYZ 5.05 3.4 20.13 -
YUV 47.09 172.53 113.67 -
System Red Green Blue C M Y K H S L
Decimal 27 42 126 0.79 0.67 0 0.51 230.91 0.65 0.3
Hex 1B 2A 7E 4F 43 0 33 E7 41 1E
Octal 33 52 176 117 103 0 63 347 101 36
Binary 11011 101010 1111110 1001111 1000011 0 110011 11100111 1000001 11110

Color Harmonies of #1B2A7E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1B2A7E

Black with #1B2A7E

Text Example


Text Example

White with #1B2A7E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(27,42,126); }

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

background-color css

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

 a { background-color: rgb(27,42,126); }

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

border-color css

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

 span { border-color: rgb(27,42,126); }

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