Get rgb565 array for c by using python