Read a LEGO color sensor scaled value.
This function lets you directly access a specific LEGO color sensor scaled value. Both the port and the color index must be constants.