For the complete documentation index, see llms.txt. This page is also available as Markdown.

Color

Introduction

Color is used to change the color (RGB) of the text. The color value an be assignes as a whole, or individual Red, Green, and Blue values can be assigned.

The Color type depends on the platform.

Microsoft.Xna.Framework.Color

  • FlatRedBall

  • FNA

  • Kni

  • MonoGame

SkiaSharp.SKColor

  • Silk.NET

  • SkiaSharp

Example - Assigning Color

The following code shows how to assign Color:

// Initialize
MyText.Color = Color.Red;

Last updated

Was this helpful?