Color.fromRGB constructor
Creates a color from an 24-bit RGB value.
The red, green, and blue values should be in the range 0-255.
See Color24 for a more detailed representation of 24-bit colors.
Implementation
const factory Color.fromRGB(int red, int green, int blue) = Color24.fromRGB;