Colour code #8A8A8A

#8A8A8A
rgb(138, 138, 138)
rgb(54.1%, 54.1%, 54.1%)

RGB value of #8A8A8A colour is rgb(138, 138, 138) where red value is 138, green value is 138 and the blue value is 138.

Max value from RGB for colour #8A8A8A is 138 which contains mainly Red colour.

Cylindrical-coordinate representations (also known as HSL colours) of colour #8A8A8A hue angle of 0°, saturation:0% and the lightness value is 54.1%.

The process colour (four Colour CMYK) of #8A8A8A colour is Cyan = 0, Magento = 0, Yellow = 0, and Key/Black (K on CMYK) = 0.46.

Hex color #8A8A8A is not a web safe color. Nearby web safe colour of #8A8A8A is #999999.

Grayscale color of #8A8A8A is #8A8A8A

Inverted color of #8A8A8A is #757575

OLE colour (RGB Long) of #8A8A8A is 9079434

Decimal Value of #8A8A8A is 9079434

Android / android.graphics.Color of #8A8A8A is -7697782 / 0xFF8A8A8A

The following declarations are allowed (CSS 3.0) for #8A8A8A

Hex Triplets
#8A8A8A
RGB Decimal
rgb(138, 138, 138)
RGB Percent
rgb(54.12%, 54.12%, 54.12%)
RGBA
rgba(138, 138, 138, 1)
HSL
hsl(0, 0%, 54.1%)
HSLA
hsla(0, 0%, 54.1%, 1)

Colour spaces of #8A8A8A

  • RGB is opposite of CMY. CMY colours are complementary to RGB colours.
    R = 138
    54.12%
    G = 138
    54.12%
    B = 138
    54.12%

    C = 45.88%
    0.45882352941176
    M = 45.88%
    0.45882352941176
    Y = 45.88%
    0.45882352941176
  • HSL (HSI) – hue, saturation, lightness/intensity
    H = 0°
    0
    S = 0%
    0
    L = 54.1%
    0.54117647058824
  • HSV (HSB) – hue, saturation, brightness/value
    H = 0°
    0
    S = 0%
    0
    V = 54.12%
    0.54117647058824
  • CMYK – cyan, magenta, yellow, key/black
    C = 0
    0
    M = 0
    0
    Y = 0
    0
    K = 45.88
    0.45882352941176
  • CIE – International Commission on Illumination
    CIE XYZ
    CIE 1931 XYZ colour space
    X = 24.157
    24.157156566145
    Y = 25.415
    25.415209433083
    Z = 27.677
    27.677163072627

    Yxy
    CIE (x, y, Y)
    Y = 25.415
    25.415209433083
    x = 0.313
    0.31271590722158
    y = 0.329
    0.32900148050666

    Hunter-Lab
    Hunter 1948 colour space
    L = 50.41
    50.413499613777
    a = -2.69
    -2.6899383056421
    b = 2.74
    2.7390612196658

    CIELAB
    CIE 1976 (L*, a*, b*)
    L = 57.48
    57.477756388234
    a = 0
    0.0033321528828956
    b = -0.01
    -0.0065928452327002

    CIELUV
    CIE 1976 (L*, u*, v*)
    L = 57.4778
    57.477756388234
    u = 0.0005
    0.00051193690101901
    v = -0.0098
    -0.0098332674850162

    CIELCH
    Cylindrical representation
    L = 57.4778
    57.477756388234
    C = 0.0074
    0.0073870732429919
    H = 296.8129
    296.81292623665

    YIQ
    Luma In-phase Quadrature
    Y = 0.5412
    0.54117647058824
    I = -0
    -2.7755575615629E-17
    Q = -0
    -2.7755575615629E-17

Base Numbers

Base Red Green Blue
Binary 10001010 10001010 10001010
Octal 212 212 212
Decimal 138 138 138
Hex 8A 8A 8A


RGB Variations of #8A8A8A

(R:8A, G:8A, B:8A)

Monochromatic colours of #8A8A8A

Shade Colour Variation of #8A8A8A (Darker)

A shade is achieved by adding black to any pure hue

Tint Colour Variation of #8A8A8A (Brighter)

Tint is created by mixing white to any pure color

Tones of #8A8A8A colour with more saturation

A tone is produced by adding gray to any pure hue.

Tones of #8A8A8A colour with less saturation

A tone is produced by adding gray to any pure hue.

#8A8A8A Colour in CSS Codes


.myforecolor{
    color:#8A8A8A;
}
.mybgcolor{
    background-color:#8A8A8A;
}
.mybordercolor{
    border:3px solid #8A8A8A;
}

Text with hexadecimal font colour #8A8A8A

This sample text font Colour is #8A8A8A
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog


<p style="color:#8A8A8A">Text here</p>


#8A8A8A Background Colour

This div background Colour is #8A8A8A


<div style="background-color:#8A8A8A">
    Div content here
</div>


#8A8A8A Border Colour

This div border Colour is #8A8A8A


<div style="border:3px solid #8A8A8A">
    Div content here
</div>

CSS3 Examples


.textShadowRgb {
    text-shadow: 4px 4px 2px rgba(138, 138, 138, 0.8);
} 
.textShadowHex { 
    text-shadow: 4px 4px 2px #8A8A8A;
}
.divShadow { 
    -moz-box-shadow: 1px 1px 3px 2px #8A8A8A;
    -webkit-box-shadow: 1px 1px 3px 2px #8A8A8A;
    box-shadow: 1px 1px 3px 2px #8A8A8A;
}


Text Shadow with RGB Values

This text has shadow with rgb values.


<p style="text-shadow: 4px 4px 2px rgba(138, 138, 138, 0.8);">Text here</p>


Text Shadow with HEX Values

This text has shadow with hex values.


<p style="text-shadow: 4px 4px 2px #8A8A8A">Text here</p>


Div Box Shadow

This div box has shadow with Colour # 8A8A8A



<div style="-moz-box-shadow: 1px 1px 3px 2px #8A8A8A;
-webkit-box-shadow: 1px 1px 3px 2px #8A8A8A;
box-shadow: 1px 1px 3px 2px #8A8A8A;">
    Div content here
</div>

Related Colours

Colour Compositions

RGB % of Colour #8A8A8A

CMYK % of Colour #8A8A8A

Related Colours along with #8A8A8A

Black background

Sample text in #8A8A8A colour with black background colour.

White background

Sample text in #8A8A8A colour with white background colour.

#8A8A8A over22 #757575

Sample text in #8A8A8A colour with #757575 background colour.

#757575 over 8A8A8A

Sample text in #757575 colour with #8A8A8A background colour.

#8A8A8A over22 #999999

Sample text in #8A8A8A colour with #999999 background colour.

#999999 over 8A8A8A

Sample text in #999999 colour with #8A8A8A background colour.