title: Convert RGB to sRGB?
body: <p>I am trying to convert an RGB to the perceptually uniform color space, CIELAB. Wikipedia states: </p>
  
  <blockquote>
    <p>"The RGB or CMYK values first must be transformed to a specific
    absolute color space, such as sRGB or Adobe RGB. This adjustment will
    be device-dependent, but the resulting data from the transform will be
    device-independent, allowing data to be transformed to the CIE 1931
    color space and then transformed into L*a * b*."</p>
  </blockquote>
  
  <p>I know there are some straightforward transformations once converting to sRGB, but I have not found any material to go from RGB to sRGB. So, what methods exist to do such a conversion?</p>