Color.ToString Method (Microsoft.Xna.Framework)
Returns a System.String representation of this Color in the format:
{R:[red] G:[green] B:[blue] A:[alpha]}
- C#
- VB
- F#
public string ToString()
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Return Value
Type: System.StringSystem.String representation of this Color.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web