okay, the issue here is that round255f takes a float. You need to make a separate round255f function that is nearly identical but takes a vec3 and returns a vec3 instead.