Skip to content

RgbaToColor

in Lib.numbers.vec4

Creates a Color from 4 values (RGBA)

Similar to [AColor] and [PickColor] and the same as [Vector4] Alternative with more functions: [SampleGradient]

For the opposite see [Vector4Components]

Also see: [HSBToColor]

Input Parameters

Name (Relevancy & Type) Description
R (Single) Red
G (Single) Green
B (Single) Blue
A (Single) Alpha

Outputs

Name Type
Result System.Numerics.Vector4