Html Css Color HEX #28217D Midnight Blue

📋 copy color: '#28217D'

red 40 ◦ green 33 ◦ blue 125

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

Shades of Midnight Blue #28217D

Tints of Midnight Blue #28217D

RGB

 RED value IS 40 (16.02% from 255) = 20.2%

 GREEN value IS 33 (13.28% from 255) = 16.67%

 BLUE value IS 125 (49.22% from 255) = 63.13%

R = 20.2%
G = 16.67%
B = 63.13%

CMYK

 C value IS 0.68

 M value IS 0.74

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#28217D (or 0x28217D) is known color: Midnight Blue. HEX triplet: 28, 21 and 7D. RGB value is (40,33,125). Sum of RGB (Red+Green+Blue) = 40+33+125=198 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20.20% from 198); Green value is 33 (13.28% from 255 or 16.67% from 198); Blue value is 125 (49.22% from 255 or 63.13% from 198); Max value from RGB is 125 - color contains mainly: blue. Hex color #28217D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28217D is #D7DE82. Grayscale: #2D2D2D. Windows color (decimal): -14147203 or 8200488. OLE color: 8200488.

HSL color Cylindrical-coordinate representation of color #28217D: hue angle of 244.57º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #28217D is Cyan = 0.68, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 40 33 125 -
CMYK 0.68 0.74 0 0.51
HSL 244.57º 0.58% 0.31% -
HSV(B) 244.57º 0.74% 0.49% -
XYZ 5.12 3.02 19.71 -
YUV 45.58 172.82 124.02 -
System Red Green Blue C M Y K H S L
Decimal 40 33 125 0.68 0.74 0 0.51 244.57 0.58 0.31
Hex 28 21 7D 44 4A 0 33 F5 3A 1F
Octal 50 41 175 104 112 0 63 365 72 37
Binary 101000 100001 1111101 1000100 1001010 0 110011 11110101 111010 11111

Color Harmonies of #28217D

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #28217D

Black with #28217D

Text Example


Text Example

White with #28217D

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #28217D; }

 p { color: rgb(40,33,125); }

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

background-color css

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

 a { background-color: rgb(40,33,125); }

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

border-color css

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

 span { border-color: rgb(40,33,125); }

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