Convert Hex Colors to Standard RGB (sRGB)

Description

Convert one (or multiple) hex colors to sRGB.

Usage

colorlib.hex_to_sRGB(hex_, gamma=2.4)

Arguments

hex_str, list of str
hex color str or list of str.
gammafloat
Gamma correction factor, defaults to 2.4.

Return

list: Returns a list of numpy.ndarrays with the corresponding red, green, and blue intensities ([r, g, b]), all in [0., 1.].