Read this post on StackOverflow for an explanation on the differences between the linear color space and the sRGB color space.