From d8af057eee84239c48fe38d9ef32850e7fe23193 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Tue, 7 Nov 2023 06:18:38 -0800 Subject: [PATCH] rgbww80 gamma (#744) --- src/internal/colors/NeoGamma.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/internal/colors/NeoGamma.h b/src/internal/colors/NeoGamma.h index d2f1b93f..2f000d3c 100644 --- a/src/internal/colors/NeoGamma.h +++ b/src/internal/colors/NeoGamma.h @@ -75,6 +75,15 @@ template class NeoGamma T_METHOD::Correct(original.WW), T_METHOD::Correct(original.CW)); } + + static Rgbww80Color Correct(const Rgbww80Color& original) + { + return Rgbww80Color(T_METHOD::Correct(original.R), + T_METHOD::Correct(original.G), + T_METHOD::Correct(original.B), + T_METHOD::Correct(original.WW), + T_METHOD::Correct(original.CW)); + } };