Html Css Color HEX #2A1F87 Persian Indigo

📋 copy color: '#2A1F87'

red 42 ◦ green 31 ◦ blue 135

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

Shades of Persian Indigo #2A1F87

Tints of Persian Indigo #2A1F87

RGB

 RED value IS 42 (16.8% from 255) = 20.19%

 GREEN value IS 31 (12.5% from 255) = 14.9%

 BLUE value IS 135 (53.13% from 255) = 64.9%

R = 20.19%
G = 14.9%
B = 64.9%

CMYK

 C value IS 0.69

 M value IS 0.77

 Y value IS 0

 K value IS 0.47

RGB Variations

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

Color information

#2A1F87 (or 0x2A1F87) is known color: Persian Indigo. HEX triplet: 2A, 1F and 87. RGB value is (42,31,135). Sum of RGB (Red+Green+Blue) = 42+31+135=208 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.19% from 208); Green value is 31 (12.5% from 255 or 14.90% from 208); Blue value is 135 (53.12% from 255 or 64.90% from 208); Max value from RGB is 135 - color contains mainly: blue. Hex color #2A1F87 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F87 is #D5E078. Grayscale: #2D2D2D. Windows color (decimal): -14016633 or 8855338. OLE color: 8855338.

HSL color Cylindrical-coordinate representation of color #2A1F87: hue angle of 246.35º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #2A1F87 is Cyan = 0.69, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.47.

Color convert

RGB 42 31 135 -
CMYK 0.69 0.77 0 0.47
HSL 246.35º 0.63% 0.33% -
HSV(B) 246.35º 0.77% 0.53% -
XYZ 5.82 3.22 23.24 -
YUV 46.15 178.14 125.04 -
System Red Green Blue C M Y K H S L
Decimal 42 31 135 0.69 0.77 0 0.47 246.35 0.63 0.33
Hex 2A 1F 87 45 4D 0 2F F6 3F 21
Octal 52 37 207 105 115 0 57 366 77 41
Binary 101010 11111 10000111 1000101 1001101 0 101111 11110110 111111 100001

Color Harmonies of #2A1F87

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #2A1F87

Black with #2A1F87

Text Example


Text Example

White with #2A1F87

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #2A1F87; }

 p { color: rgb(42,31,135); }

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

background-color css

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

 a { background-color: rgb(42,31,135); }

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

border-color css

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

 span { border-color: rgb(42,31,135); }

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