CIELAB.h 270 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2023, Nico Weber <thakis@chromium.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. namespace Gfx {
  8. // https://en.wikipedia.org/wiki/CIELAB_color_space
  9. struct CIELAB {
  10. float L; // L*
  11. float a; // a*
  12. float b; // b*
  13. };
  14. }