Documentation

UIColor​.rgb()

Creates a UIColor from sRGB values, converting to OKLCH internally.

static rgb(r: number, g: number, b: number, alpha?: number): UIColor;

Parameters

Related