i'm making a machine that tells you the color of the part that another brick is touching but it always brings out a non exact number (like 0.35.. instead of something like 128)
is there a way to make it display the exact rgb values? this would be really useful because it's the last thing i need to complete this, this is the current code i'm using
screen.R.Text = hit.Color.R
screen.G.Text = hit.Color.G
screen.B.Text = hit.Color.B
could anyone here help me with this? it would be really useful

1 comment
Couldn't you just use brickcolor instead to tell the color of the Part?