toRgb8 method
Converts this color to 8-bit RGB representation.
Implementation
RayRgb8 toRgb8() => this is RayRgb8 ? this as RayRgb8 : toRgb16().toRgb8();
Converts this color to 8-bit RGB representation.
RayRgb8 toRgb8() => this is RayRgb8 ? this as RayRgb8 : toRgb16().toRgb8();