Html Css Color HEX #1A2A7E Midnight Blue

📋 copy color: '#1A2A7E'

red 26 ◦ green 42 ◦ blue 126

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

Shades of Midnight Blue #1A2A7E

Tints of Midnight Blue #1A2A7E

RGB

 RED value IS 26 (10.55% from 255) = 13.4%

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

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

R = 13.4%
G = 21.65%
B = 64.95%

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

#1A2A7E (or 0x1A2A7E) is known color: Midnight Blue. HEX triplet: 1A, 2A and 7E. RGB value is (26,42,126). Sum of RGB (Red+Green+Blue) = 26+42+126=194 (25% of max value = 765). Red value is 26 (10.55% from 255 or 13.40% from 194); Green value is 42 (16.80% from 255 or 21.65% from 194); Blue value is 126 (49.61% from 255 or 64.95% from 194); Max value from RGB is 126 - color contains mainly: blue. Hex color #1A2A7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1A2A7E is #E5D581. Grayscale: #2E2E2E. Windows color (decimal): -15062402 or 8268314. OLE color: 8268314.

HSL color Cylindrical-coordinate representation of color #1A2A7E: hue angle of 230.4º degrees, saturation: 0.66, 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 #1A2A7E is Cyan = 0.79, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 26 42 126 -
CMYK 0.79 0.67 0 0.51
HSL 230.4º 0.66% 0.3% -
HSV(B) 230.4º 0.79% 0.49% -
XYZ 5.02 3.38 20.13 -
YUV 46.79 172.7 113.17 -
System Red Green Blue C M Y K H S L
Decimal 26 42 126 0.79 0.67 0 0.51 230.4 0.66 0.3
Hex 1A 2A 7E 4F 43 0 33 E6 42 1E
Octal 32 52 176 117 103 0 63 346 102 36
Binary 11010 101010 1111110 1001111 1000011 0 110011 11100110 1000010 11110

Color Harmonies of #1A2A7E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1A2A7E

Black with #1A2A7E

Text Example


Text Example

White with #1A2A7E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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