working rgb values in console on picture load