Color Class

Summary

A color object which allows accessing each color component individually.
Namespace
AlphaTab.Platform.Model
Base Types
  • object
graph TD Base0["object"]-->Type Type["Color"] class Type type-node

Syntax

public class Color

Constructors

Name Summary
Color(byte, byte, byte, byte) Initializes a new instance of the Color class.

Fields

Name Constant Value Summary
BlackRgb #000000
Gets the hex string for black.
static

Properties

Name Value Summary
A byte
Gets or sets the alpha component of the color.
B byte
Gets or sets the blue component of the color.
G byte
Gets or sets the green component of the color.
R byte
Gets or sets the red component of the color.
Raw int
Gets or sets the raw RGBA value.
RGBA string
Gets the RGBA hex string to use in CSS areas.