I'm looking for some color interpolation code using CIELAB L*a*b* (aka Lab), but my google-fu is failing me. All I get is RGB and HSL code.

Comments

  1. Bill Meyer
    Are you proposing I query the color temperature used and adjust the function accordingly? I'm not sure Windows allows me to query the color temp.

    Wow amazingly it does: GetMonitorColorTemperaturehttps://msdn.microsoft.com/en-us/library/windows/desktop/dd692941(v=vs.85).aspx

    ReplyDelete
  2. Johan Bontes Unless this is for a calibrated display, I wouldn't worry about color temperature, just stick to D65.

    ReplyDelete
  3. Johan Bontes
    Not telling you what to do, as I do not know your application area. Just offering some additional insight, which may or may not be useful.

    ReplyDelete

Post a Comment