Color Structure

Represents an ARGB (alpha, red, green, blue) color.

Namespace:  System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

[SerializableAttribute]
[TypeConverterAttribute(typeof(ColorConverter))]
public struct Color

The Color type exposes the following members.

  NameDescription
Public propertySupported by the XNA FrameworkAGets the alpha component value of this Color structure.
Public propertyStatic memberSupported by the XNA FrameworkAliceBlueGets a system-defined color that has an ARGB value of #FFF0F8FF.
Public propertyStatic memberSupported by the XNA FrameworkAntiqueWhiteGets a system-defined color that has an ARGB value of #FFFAEBD7.
Public propertyStatic memberSupported by the XNA FrameworkAquaGets a system-defined color that has an ARGB value of #FF00FFFF.
Public propertyStatic memberSupported by the XNA FrameworkAquamarineGets a system-defined color that has an ARGB value of #FF7FFFD4.
Public propertyStatic memberSupported by the XNA FrameworkAzureGets a system-defined color that has an ARGB value of #FFF0FFFF.
Public propertySupported by the XNA FrameworkBGets the blue component value of this Color structure.
Public propertyStatic memberSupported by the XNA FrameworkBeigeGets a system-defined color that has an ARGB value of #FFF5F5DC.
Public propertyStatic memberSupported by the XNA FrameworkBisqueGets a system-defined color that has an ARGB value of #FFFFE4C4.
Public propertyStatic memberSupported by the XNA FrameworkBlackGets a system-defined color that has an ARGB value of #FF000000.
Public propertyStatic memberSupported by the XNA FrameworkBlanchedAlmondGets a system-defined color that has an ARGB value of #FFFFEBCD.
Public propertyStatic memberSupported by the XNA FrameworkBlueGets a system-defined color that has an ARGB value of #FF0000FF.
Public propertyStatic memberSupported by the XNA FrameworkBlueVioletGets a system-defined color that has an ARGB value of #FF8A2BE2.
Public propertyStatic memberSupported by the XNA FrameworkBrownGets a system-defined color that has an ARGB value of #FFA52A2A.
Public propertyStatic memberSupported by the XNA FrameworkBurlyWoodGets a system-defined color that has an ARGB value of #FFDEB887.
Public propertyStatic memberSupported by the XNA FrameworkCadetBlueGets a system-defined color that has an ARGB value of #FF5F9EA0.
Public propertyStatic memberSupported by the XNA FrameworkChartreuseGets a system-defined color that has an ARGB value of #FF7FFF00.
Public propertyStatic memberSupported by the XNA FrameworkChocolateGets a system-defined color that has an ARGB value of #FFD2691E.
Public propertyStatic memberSupported by the XNA FrameworkCoralGets a system-defined color that has an ARGB value of #FFFF7F50.
Public propertyStatic memberSupported by the XNA FrameworkCornflowerBlueGets a system-defined color that has an ARGB value of #FF6495ED.
Public propertyStatic memberSupported by the XNA FrameworkCornsilkGets a system-defined color that has an ARGB value of #FFFFF8DC.
Public propertyStatic memberSupported by the XNA FrameworkCrimsonGets a system-defined color that has an ARGB value of #FFDC143C.
Public propertyStatic memberSupported by the XNA FrameworkCyanGets a system-defined color that has an ARGB value of #FF00FFFF.
Public propertyStatic memberSupported by the XNA FrameworkDarkBlueGets a system-defined color that has an ARGB value of #FF00008B.
Public propertyStatic memberSupported by the XNA FrameworkDarkCyanGets a system-defined color that has an ARGB value of #FF008B8B.
Public propertyStatic memberSupported by the XNA FrameworkDarkGoldenrodGets a system-defined color that has an ARGB value of #FFB8860B.
Public propertyStatic memberSupported by the XNA FrameworkDarkGrayGets a system-defined color that has an ARGB value of #FFA9A9A9.
Public propertyStatic memberSupported by the XNA FrameworkDarkGreenGets a system-defined color that has an ARGB value of #FF006400.
Public propertyStatic memberSupported by the XNA FrameworkDarkKhakiGets a system-defined color that has an ARGB value of #FFBDB76B.
Public propertyStatic memberSupported by the XNA FrameworkDarkMagentaGets a system-defined color that has an ARGB value of #FF8B008B.
Public propertyStatic memberSupported by the XNA FrameworkDarkOliveGreenGets a system-defined color that has an ARGB value of #FF556B2F.
Public propertyStatic memberSupported by the XNA FrameworkDarkOrangeGets a system-defined color that has an ARGB value of #FFFF8C00.
Public propertyStatic memberSupported by the XNA FrameworkDarkOrchidGets a system-defined color that has an ARGB value of #FF9932CC.
Public propertyStatic memberSupported by the XNA FrameworkDarkRedGets a system-defined color that has an ARGB value of #FF8B0000.
Public propertyStatic memberSupported by the XNA FrameworkDarkSalmonGets a system-defined color that has an ARGB value of #FFE9967A.
Public propertyStatic memberSupported by the XNA FrameworkDarkSeaGreenGets a system-defined color that has an ARGB value of #FF8FBC8F.
Public propertyStatic memberSupported by the XNA FrameworkDarkSlateBlueGets a system-defined color that has an ARGB value of #FF483D8B.
Public propertyStatic memberSupported by the XNA FrameworkDarkSlateGrayGets a system-defined color that has an ARGB value of #FF2F4F4F.
Public propertyStatic memberSupported by the XNA FrameworkDarkTurquoiseGets a system-defined color that has an ARGB value of #FF00CED1.
Public propertyStatic memberSupported by the XNA FrameworkDarkVioletGets a system-defined color that has an ARGB value of #FF9400D3.
Public propertyStatic memberSupported by the XNA FrameworkDeepPinkGets a system-defined color that has an ARGB value of #FFFF1493.
Public propertyStatic memberSupported by the XNA FrameworkDeepSkyBlueGets a system-defined color that has an ARGB value of #FF00BFFF.
Public propertyStatic memberSupported by the XNA FrameworkDimGrayGets a system-defined color that has an ARGB value of #FF696969.
Public propertyStatic memberSupported by the XNA FrameworkDodgerBlueGets a system-defined color that has an ARGB value of #FF1E90FF.
Public propertyStatic memberSupported by the XNA FrameworkFirebrickGets a system-defined color that has an ARGB value of #FFB22222.
Public propertyStatic memberSupported by the XNA FrameworkFloralWhiteGets a system-defined color that has an ARGB value of #FFFFFAF0.
Public propertyStatic memberSupported by the XNA FrameworkForestGreenGets a system-defined color that has an ARGB value of #FF228B22.
Public propertyStatic memberSupported by the XNA FrameworkFuchsiaGets a system-defined color that has an ARGB value of #FFFF00FF.
Public propertySupported by the XNA FrameworkGGets the green component value of this Color structure.
Public propertyStatic memberSupported by the XNA FrameworkGainsboroGets a system-defined color that has an ARGB value of #FFDCDCDC.
Public propertyStatic memberSupported by the XNA FrameworkGhostWhiteGets a system-defined color that has an ARGB value of #FFF8F8FF.
Public propertyStatic memberSupported by the XNA FrameworkGoldGets a system-defined color that has an ARGB value of #FFFFD700.
Public propertyStatic memberSupported by the XNA FrameworkGoldenrodGets a system-defined color that has an ARGB value of #FFDAA520.
Public propertyStatic memberSupported by the XNA FrameworkGrayGets a system-defined color that has an ARGB value of #FF808080.
Public propertyStatic memberSupported by the XNA FrameworkGreenGets a system-defined color that has an ARGB value of #FF008000.
Public propertyStatic memberSupported by the XNA FrameworkGreenYellowGets a system-defined color that has an ARGB value of #FFADFF2F.
Public propertyStatic memberSupported by the XNA FrameworkHoneydewGets a system-defined color that has an ARGB value of #FFF0FFF0.
Public propertyStatic memberSupported by the XNA FrameworkHotPinkGets a system-defined color that has an ARGB value of #FFFF69B4.
Public propertyStatic memberSupported by the XNA FrameworkIndianRedGets a system-defined color that has an ARGB value of #FFCD5C5C.
Public propertyStatic memberSupported by the XNA FrameworkIndigoGets a system-defined color that has an ARGB value of #FF4B0082.
Public propertySupported by the XNA FrameworkIsEmptySpecifies whether this Color structure is uninitialized.
Public propertyIsKnownColorGets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.
Public propertyIsNamedColorGets a value indicating whether this Color structure is a named color or a member of the KnownColor enumeration.
Public propertySupported by the XNA FrameworkIsSystemColorGets a value indicating whether this Color structure is a system color. A system color is a color that is used in a Windows display element. System colors are represented by elements of the KnownColor enumeration.
Public propertyStatic memberSupported by the XNA FrameworkIvoryGets a system-defined color that has an ARGB value of #FFFFFFF0.
Public propertyStatic memberSupported by the XNA FrameworkKhakiGets a system-defined color that has an ARGB value of #FFF0E68C.
Public propertyStatic memberSupported by the XNA FrameworkLavenderGets a system-defined color that has an ARGB value of #FFE6E6FA.
Public propertyStatic memberSupported by the XNA FrameworkLavenderBlushGets a system-defined color that has an ARGB value of #FFFFF0F5.
Public propertyStatic memberSupported by the XNA FrameworkLawnGreenGets a system-defined color that has an ARGB value of #FF7CFC00.
Public propertyStatic memberSupported by the XNA FrameworkLemonChiffonGets a system-defined color that has an ARGB value of #FFFFFACD.
Public propertyStatic memberSupported by the XNA FrameworkLightBlueGets a system-defined color that has an ARGB value of #FFADD8E6.
Public propertyStatic memberSupported by the XNA FrameworkLightCoralGets a system-defined color that has an ARGB value of #FFF08080.
Public propertyStatic memberSupported by the XNA FrameworkLightCyanGets a system-defined color that has an ARGB value of #FFE0FFFF.
Public propertyStatic memberSupported by the XNA FrameworkLightGoldenrodYellowGets a system-defined color that has an ARGB value of #FFFAFAD2.
Public propertyStatic memberSupported by the XNA FrameworkLightGrayGets a system-defined color that has an ARGB value of #FFD3D3D3.
Public propertyStatic memberSupported by the XNA FrameworkLightGreenGets a system-defined color that has an ARGB value of #FF90EE90.
Public propertyStatic memberSupported by the XNA FrameworkLightPinkGets a system-defined color that has an ARGB value of #FFFFB6C1.
Public propertyStatic memberSupported by the XNA FrameworkLightSalmonGets a system-defined color that has an ARGB value of #FFFFA07A.
Public propertyStatic memberSupported by the XNA FrameworkLightSeaGreenGets a system-defined color that has an ARGB value of #FF20B2AA.
Public propertyStatic memberSupported by the XNA FrameworkLightSkyBlueGets a system-defined color that has an ARGB value of #FF87CEFA.
Public propertyStatic memberSupported by the XNA FrameworkLightSlateGrayGets a system-defined color that has an ARGB value of #FF778899.
Public propertyStatic memberSupported by the XNA FrameworkLightSteelBlueGets a system-defined color that has an ARGB value of #FFB0C4DE.
Public propertyStatic memberSupported by the XNA FrameworkLightYellowGets a system-defined color that has an ARGB value of #FFFFFFE0.
Public propertyStatic memberSupported by the XNA FrameworkLimeGets a system-defined color that has an ARGB value of #FF00FF00.
Public propertyStatic memberSupported by the XNA FrameworkLimeGreenGets a system-defined color that has an ARGB value of #FF32CD32.
Public propertyStatic memberSupported by the XNA FrameworkLinenGets a system-defined color that has an ARGB value of #FFFAF0E6.
Public propertyStatic memberSupported by the XNA FrameworkMagentaGets a system-defined color that has an ARGB value of #FFFF00FF.
Public propertyStatic memberSupported by the XNA FrameworkMaroonGets a system-defined color that has an ARGB value of #FF800000.
Public propertyStatic memberSupported by the XNA FrameworkMediumAquamarineGets a system-defined color that has an ARGB value of #FF66CDAA.
Public propertyStatic memberSupported by the XNA FrameworkMediumBlueGets a system-defined color that has an ARGB value of #FF0000CD.
Public propertyStatic memberSupported by the XNA FrameworkMediumOrchidGets a system-defined color that has an ARGB value of #FFBA55D3.
Public propertyStatic memberSupported by the XNA FrameworkMediumPurpleGets a system-defined color that has an ARGB value of #FF9370DB.
Public propertyStatic memberSupported by the XNA FrameworkMediumSeaGreenGets a system-defined color that has an ARGB value of #FF3CB371.
Public propertyStatic memberSupported by the XNA FrameworkMediumSlateBlueGets a system-defined color that has an ARGB value of #FF7B68EE.
Public propertyStatic memberSupported by the XNA FrameworkMediumSpringGreenGets a system-defined color that has an ARGB value of #FF00FA9A.
Public propertyStatic memberSupported by the XNA FrameworkMediumTurquoiseGets a system-defined color that has an ARGB value of #FF48D1CC.
Public propertyStatic memberSupported by the XNA FrameworkMediumVioletRedGets a system-defined color that has an ARGB value of #FFC71585.
Public propertyStatic memberSupported by the XNA FrameworkMidnightBlueGets a system-defined color that has an ARGB value of #FF191970.
Public propertyStatic memberSupported by the XNA FrameworkMintCreamGets a system-defined color that has an ARGB value of #FFF5FFFA.
Public propertyStatic memberSupported by the XNA FrameworkMistyRoseGets a system-defined color that has an ARGB value of #FFFFE4E1.
Public propertyStatic memberSupported by the XNA FrameworkMoccasinGets a system-defined color that has an ARGB value of #FFFFE4B5.
Public propertyNameGets the name of this Color.
Public propertyStatic memberSupported by the XNA FrameworkNavajoWhiteGets a system-defined color that has an ARGB value of #FFFFDEAD.
Public propertyStatic memberSupported by the XNA FrameworkNavyGets a system-defined color that has an ARGB value of #FF000080.
Public propertyStatic memberSupported by the XNA FrameworkOldLaceGets a system-defined color that has an ARGB value of #FFFDF5E6.
Public propertyStatic memberSupported by the XNA FrameworkOliveGets a system-defined color that has an ARGB value of #FF808000.
Public propertyStatic memberSupported by the XNA FrameworkOliveDrabGets a system-defined color that has an ARGB value of #FF6B8E23.
Public propertyStatic memberSupported by the XNA FrameworkOrangeGets a system-defined color that has an ARGB value of #FFFFA500.
Public propertyStatic memberSupported by the XNA FrameworkOrangeRedGets a system-defined color that has an ARGB value of #FFFF4500.
Public propertyStatic memberSupported by the XNA FrameworkOrchidGets a system-defined color that has an ARGB value of #FFDA70D6.
Public propertyStatic memberSupported by the XNA FrameworkPaleGoldenrodGets a system-defined color that has an ARGB value of #FFEEE8AA.
Public propertyStatic memberSupported by the XNA FrameworkPaleGreenGets a system-defined color that has an ARGB value of #FF98FB98.
Public propertyStatic memberSupported by the XNA FrameworkPaleTurquoiseGets a system-defined color that has an ARGB value of #FFAFEEEE.
Public propertyStatic memberSupported by the XNA FrameworkPaleVioletRedGets a system-defined color that has an ARGB value of #FFDB7093.
Public propertyStatic memberSupported by the XNA FrameworkPapayaWhipGets a system-defined color that has an ARGB value of #FFFFEFD5.
Public propertyStatic memberSupported by the XNA FrameworkPeachPuffGets a system-defined color that has an ARGB value of #FFFFDAB9.
Public propertyStatic memberSupported by the XNA FrameworkPeruGets a system-defined color that has an ARGB value of #FFCD853F.
Public propertyStatic memberSupported by the XNA FrameworkPinkGets a system-defined color that has an ARGB value of #FFFFC0CB.
Public propertyStatic memberSupported by the XNA FrameworkPlumGets a system-defined color that has an ARGB value of #FFDDA0DD.
Public propertyStatic memberSupported by the XNA FrameworkPowderBlueGets a system-defined color that has an ARGB value of #FFB0E0E6.
Public propertyStatic memberSupported by the XNA FrameworkPurpleGets a system-defined color that has an ARGB value of #FF800080.
Public propertySupported by the XNA FrameworkRGets the red component value of this Color structure.
Public propertyStatic memberSupported by the XNA FrameworkRedGets a system-defined color that has an ARGB value of #FFFF0000.
Public propertyStatic memberSupported by the XNA FrameworkRosyBrownGets a system-defined color that has an ARGB value of #FFBC8F8F.
Public propertyStatic memberSupported by the XNA FrameworkRoyalBlueGets a system-defined color that has an ARGB value of #FF4169E1.
Public propertyStatic memberSupported by the XNA FrameworkSaddleBrownGets a system-defined color that has an ARGB value of #FF8B4513.
Public propertyStatic memberSupported by the XNA FrameworkSalmonGets a system-defined color that has an ARGB value of #FFFA8072.
Public propertyStatic memberSupported by the XNA FrameworkSandyBrownGets a system-defined color that has an ARGB value of #FFF4A460.
Public propertyStatic memberSupported by the XNA FrameworkSeaGreenGets a system-defined color that has an ARGB value of #FF2E8B57.
Public propertyStatic memberSupported by the XNA FrameworkSeaShellGets a system-defined color that has an ARGB value of #FFFFF5EE.
Public propertyStatic memberSupported by the XNA FrameworkSiennaGets a system-defined color that has an ARGB value of #FFA0522D.
Public propertyStatic memberSupported by the XNA FrameworkSilverGets a system-defined color that has an ARGB value of #FFC0C0C0.
Public propertyStatic memberSupported by the XNA FrameworkSkyBlueGets a system-defined color that has an ARGB value of #FF87CEEB.
Public propertyStatic memberSupported by the XNA FrameworkSlateBlueGets a system-defined color that has an ARGB value of #FF6A5ACD.
Public propertyStatic memberSupported by the XNA FrameworkSlateGrayGets a system-defined color that has an ARGB value of #FF708090.
Public propertyStatic memberSupported by the XNA FrameworkSnowGets a system-defined color that has an ARGB value of #FFFFFAFA.
Public propertyStatic memberSupported by the XNA FrameworkSpringGreenGets a system-defined color that has an ARGB value of #FF00FF7F.
Public propertyStatic memberSupported by the XNA FrameworkSteelBlueGets a system-defined color that has an ARGB value of #FF4682B4.
Public propertyStatic memberSupported by the XNA FrameworkTanGets a system-defined color that has an ARGB value of #FFD2B48C.
Public propertyStatic memberSupported by the XNA FrameworkTealGets a system-defined color that has an ARGB value of #FF008080.
Public propertyStatic memberSupported by the XNA FrameworkThistleGets a system-defined color that has an ARGB value of #FFD8BFD8.
Public propertyStatic memberSupported by the XNA FrameworkTomatoGets a system-defined color that has an ARGB value of #FFFF6347.
Public propertyStatic memberSupported by the XNA FrameworkTransparentGets a system-defined color.
Public propertyStatic memberSupported by the XNA FrameworkTurquoiseGets a system-defined color that has an ARGB value of #FF40E0D0.
Public propertyStatic memberSupported by the XNA FrameworkVioletGets a system-defined color that has an ARGB value of #FFEE82EE.
Public propertyStatic memberSupported by the XNA FrameworkWheatGets a system-defined color that has an ARGB value of #FFF5DEB3.
Public propertyStatic memberSupported by the XNA FrameworkWhiteGets a system-defined color that has an ARGB value of #FFFFFFFF.
Public propertyStatic memberSupported by the XNA FrameworkWhiteSmokeGets a system-defined color that has an ARGB value of #FFF5F5F5.
Public propertyStatic memberSupported by the XNA FrameworkYellowGets a system-defined color that has an ARGB value of #FFFFFF00.
Public propertyStatic memberSupported by the XNA FrameworkYellowGreenGets a system-defined color that has an ARGB value of #FF9ACD32.
Top

  NameDescription
Public methodSupported by the XNA FrameworkEqualsTests whether the specified object is a Color structure and is equivalent to this Color structure. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the XNA FrameworkFromArgb(Int32)Creates a Color structure from a 32-bit ARGB value.
Public methodStatic memberFromArgb(Int32, Color)Creates a Color structure from the specified Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
Public methodStatic memberSupported by the XNA FrameworkFromArgb(Int32, Int32, Int32)Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
Public methodStatic memberFromArgb(Int32, Int32, Int32, Int32)Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
Public methodStatic memberFromKnownColorCreates a Color structure from the specified predefined color.
Public methodStatic memberFromNameCreates a Color structure from the specified name of a predefined color.
Public methodGetBrightnessGets the hue-saturation-brightness (HSB) brightness value for this Color structure.
Public methodSupported by the XNA FrameworkGetHashCodeReturns a hash code for this Color structure. (Overrides ValueType.GetHashCode().)
Public methodGetHueGets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.
Public methodGetSaturationGets the hue-saturation-brightness (HSB) saturation value for this Color structure.
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the XNA FrameworkToArgbGets the 32-bit ARGB value of this Color structure.
Public methodToKnownColorGets the KnownColor value of this Color structure.
Public methodSupported by the XNA FrameworkToStringConverts this Color structure to a human-readable string. (Overrides ValueType.ToString().)

In XNA Framework 3.0, this member is inherited from Object.ToString().
Top

  NameDescription
Public operatorStatic memberSupported by the XNA FrameworkEqualityTests whether two specified Color structures are equivalent.
Public operatorStatic memberSupported by the XNA FrameworkInequalityTests whether two specified Color structures are different.
Top

  NameDescription
Public fieldStatic memberSupported by the XNA FrameworkEmptyRepresents a color that is null.
Top

Named colors are represented by using the properties of the Color structure. For more information about these colors, see Colors by Name.

The color of each pixel is represented as a 32-bit number: 8 bits each for alpha, red, green, and blue (ARGB). Each of the four components is a number from 0 through 255, with 0 representing no intensity and 255 representing full intensity. The alpha component specifies the transparency of the color: 0 is fully transparent, and 255 is fully opaque. To determine the alpha, red, green, or blue component of a color, use the A, R, G, or B property, respectively. You can create a custom color by using one of the FromArgb methods.

The following code example demonstrates the A, R, G, and B properties of a Color, and the Implicit member.

This example is designed to be used with a Windows Form. Paste the code into the form and call the ShowPropertiesOfSlateBlue method from the form's Paint event-handling method, passing e as PaintEventArgs.

private void ShowPropertiesOfSlateBlue(PaintEventArgs e)
{
    Color slateBlue = Color.FromName("SlateBlue");
    byte g = slateBlue.G;
    byte b = slateBlue.B;
    byte r = slateBlue.R;
    byte a = slateBlue.A;
    string text = String.Format("Slate Blue has these ARGB values: Alpha:{0}, " +
        "red:{1}, green: {2}, blue {3}", new object[]{a, r, g, b});
    e.Graphics.DrawString(text, 
        new Font(this.Font, FontStyle.Italic), 
        new SolidBrush(slateBlue), 
        new RectangleF(new PointF(0.0F, 0.0F), this.Size));
}

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft