psychopy.tools.colorspacetools.dklCart2rgb

psychopy.tools.colorspacetools.dklCart2rgb(LUM, LM, S, conversionMatrix=None)[source]

Like dkl2rgb except that it uses cartesian coords (LM,S,LUM) rather than spherical coords for DKL (elev, azim, contr).

NB: this may return rgb values >1 or <-1


Back to top