Html Css Color HEX #2A1F8B Persian Indigo

📋 copy color: '#2A1F8B'

red 42 ◦ green 31 ◦ blue 139

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

Shades of Persian Indigo #2A1F8B

Tints of Persian Indigo #2A1F8B

RGB

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

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

 BLUE value IS 139 (54.69% from 255) = 65.57%

R = 19.81%
G = 14.62%
B = 65.57%

CMYK

 C value IS 0.70

 M value IS 0.78

 Y value IS 0

 K value IS 0.45

RGB Variations

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

Color information

#2A1F8B (or 0x2A1F8B) is known color: Persian Indigo. HEX triplet: 2A, 1F and 8B. RGB value is (42,31,139). Sum of RGB (Red+Green+Blue) = 42+31+139=212 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.81% from 212); Green value is 31 (12.5% from 255 or 14.62% from 212); Blue value is 139 (54.69% from 255 or 65.57% from 212); Max value from RGB is 139 - color contains mainly: blue. Hex color #2A1F8B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F8B is #D5E074. Grayscale: #2E2E2E. Windows color (decimal): -14016629 or 9117482. OLE color: 9117482.

HSL color Cylindrical-coordinate representation of color #2A1F8B: hue angle of 246.11º degrees, saturation: 0.64, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #2A1F8B is Cyan = 0.70, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.45.

Color convert

RGB 42 31 139 -
CMYK 0.70 0.78 0 0.45
HSL 246.11º 0.64% 0.33% -
HSV(B) 246.11º 0.78% 0.55% -
XYZ 6.11 3.34 24.75 -
YUV 46.6 180.14 124.72 -
System Red Green Blue C M Y K H S L
Decimal 42 31 139 0.70 0.78 0 0.45 246.11 0.64 0.33
Hex 2A 1F 8B 46 4E 0 2D F6 40 21
Octal 52 37 213 106 116 0 55 366 100 41
Binary 101010 11111 10001011 1000110 1001110 0 101101 11110110 1000000 100001

Color Harmonies of #2A1F8B

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #2A1F8B

Black with #2A1F8B

Text Example


Text Example

White with #2A1F8B

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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