Convert RGB to Standard RGB

Description

Converts one (or multiple) colors defined by their red, blue, green, and blue coordinates ([0.0, 1.0]) to the Standard RGB color space; returning a modified list of red, green, blue coordinates.

Usage

colorlib.RGB_to_sRGB(R, G, B, gamma=2.4)

Arguments

Rnumpy.ndarray
Intensities for red ([0., 1.]).
Gnumpy.ndarray
Intensities for green ([0., 1.]).
Bnumpy.ndarray
Intensities for blue ([0., 1.]).
gammafloat
gamma adjustment, defaults to 2.4.

Return

list: Returns a list of numpy.ndarrays with R, G, and B values.