Color channel values are stored using a 0.0 - 1.0 range, where 0.0 is equal to 0 and 1.0 is equal to 255.
Read this post on StackOverflow for an explanation on the differences between the linear color space and the sRGB color space.