Up

_color_convert

Converts a color in various modes.

Prototype :

fun [I I I tab I] I

Return : I the converted color or nil if error

See also :

make_rgb

Example :

Convert a BGR 24-bits color in RGB 24-bits color

fun main ()=
	_showconsole;
	let 0xffaa11 -> colorBGR in
	let _color_convert colorBGR COLOR_BGR24 COLOR_RGB24 nil -> colorRGB in
	_fooI colorRGB;	// 11aaff
	0;;