Fixed color rgb block to work when using variables instead of numbers