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]}

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.330)
  • C#
  • VB
  • F#
public string ToString()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Return Value

Type: System.String
System.String representation of this Color.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web