class Sass::Value::Color::Space::DisplayP3

def bounded?

def bounded?
  true
end

def from_linear(channel)

def from_linear(channel)
  Utils.srgb_and_display_p3_from_linear(channel)
end

def initialize

def initialize
  super('display-p3', Utils::RGB_CHANNELS)
end

def to_linear(channel)

def to_linear(channel)
  Utils.srgb_and_display_p3_to_linear(channel)
end

def transformation_matrix(dest)

def transformation_matrix(dest)
  case dest
  when A98_RGB
    Conversions::LINEAR_DISPLAY_P3_TO_LINEAR_A98_RGB
  when LMS
    Conversions::LINEAR_DISPLAY_P3_TO_LMS
  when PROPHOTO_RGB
    Conversions::LINEAR_DISPLAY_P3_TO_LINEAR_PROPHOTO_RGB
  when REC2020
    Conversions::LINEAR_DISPLAY_P3_TO_LINEAR_REC2020
  when RGB, SRGB, SRGB_LINEAR
    Conversions::LINEAR_DISPLAY_P3_TO_LINEAR_SRGB
  when XYZ_D50
    Conversions::LINEAR_DISPLAY_P3_TO_XYZ_D50
  when XYZ_D65
    Conversions::LINEAR_DISPLAY_P3_TO_XYZ_D65
  else
    super
  end
end