fix custom marker colors

integer cast was done on a value of range 0..1 before multiplying by 255
-> always black