221class TCODLIB_API TCODColor {
223 constexpr TCODColor()
noexcept =
default;
240 constexpr TCODColor(uint8_t r_, uint8_t g_, uint8_t b_) noexcept
241 : r{r_}, g{g_}, b{b_}
243 constexpr TCODColor(
int r_,
int g_,
int b_) noexcept
244 : r{
static_cast<uint8_t
>(r_)}, g{
static_cast<uint8_t
>(g_)}, b{
static_cast<uint8_t
>(b_)}
246 constexpr TCODColor(
const TCOD_color_t &col)
noexcept: r{col.r}, g{col.g}, b{col.b} {}
247 TCODColor(
float h,
float s,
float v)
noexcept;
267 [[nodiscard]]
constexpr bool operator==(
const TCODColor& c)
const noexcept
269 return (c.r == r && c.g == g && c.b == b);
271 [[nodiscard]]
constexpr bool operator!=(
const TCODColor& c)
const noexcept
273 return !(*
this == c);
291 [[nodiscard]]
constexpr TCODColor
operator*(
const TCODColor& rhs)
const noexcept
316 [[nodiscard]]
constexpr TCODColor
operator*(
float value)
const noexcept
319 static_cast<uint8_t
>(std::clamp(r * value, 0.0f, 255.0f)),
320 static_cast<uint8_t
>(std::clamp(g * value, 0.0f, 255.0f)),
321 static_cast<uint8_t
>(std::clamp(b * value, 0.0f, 255.0f)),
324 [[nodiscard]] TCODLIB_API_INLINE_EXPORT
friend TCODColor operator*(
float value,
const TCODColor& color)
noexcept {
325 return color * value;
342 [[nodiscard]]
constexpr TCODColor
operator+(
const TCODColor & rhs)
const noexcept
345 std::clamp(r + rhs.r, 0, 255),
346 std::clamp(g + rhs.g, 0, 255),
347 std::clamp(b + rhs.b, 0, 255),
365 [[nodiscard]]
constexpr TCODColor
operator-(
const TCODColor& rhs)
const noexcept
368 std::clamp(r - rhs.r, 0, 255),
369 std::clamp(g - rhs.g, 0, 255),
370 std::clamp(b - rhs.b, 0, 255),
393 [[nodiscard]]
static constexpr TCODColor
lerp(
const TCODColor &c1,
const TCODColor &c2,
float coef)
noexcept
396 c1.r +
static_cast<int>((c2.r - c1.r) * coef),
397 c1.g +
static_cast<int>((c2.g - c1.g) * coef),
398 c1.b +
static_cast<int>((c2.b - c1.b) * coef),
417 void setHSV(
float h,
float s,
float v)
noexcept;
439 void setSaturation(
float s)
noexcept;
440 void setValue(
float v)
noexcept;
456 void getHSV(
float *h,
float *s,
float *v)
const noexcept;
481 [[nodiscard]]
float getSaturation() noexcept;
482 [[nodiscard]]
float getValue() noexcept;
510 void scaleHSV(
float sscale,
float vscale) noexcept;
556 static
void genMap(TCODColor *map,
int nbKey, TCODColor const *keyColor,
int const *keyIndex);
584 template <
int OutSize, typename KeyColors, typename KeyIndexes>
585 [[nodiscard]] static constexpr auto
genMap(const KeyColors& key_colors, const KeyIndexes& key_indexes)
587 auto out = std::array<tcod::ColorRGB, OutSize>{};
588 if (key_colors.size() != key_indexes.size())
589 throw std::invalid_argument{
"Key color and index arrays must be the same size."};
590 for (
size_t segment = 1; segment < key_colors.size(); ++segment) {
591 const auto index_start = key_indexes.at(segment - 1);
592 const auto index_end = key_indexes.at(segment);
593 if (segment == 1 && index_start != 0)
throw std::invalid_argument{
"First key must be 0."};
594 if (segment == key_colors.size() - 1 && index_end != OutSize - 1) {
595 throw std::invalid_argument{
"Last key must be at the end of the output size."};
597 if (!(index_start < index_end))
throw std::invalid_argument{
"Key indexes must be in ascending order."};
598 const auto color_start = TCODColor{key_colors.at(segment - 1)};
599 const auto color_end = TCODColor{key_colors.at(segment)};
600 for (
auto i = index_start; i <= index_end; ++i) {
601 const float interpolation =
static_cast<float>(i - index_start) / (index_end - index_start);
614 [[nodiscard]]
constexpr explicit operator TCOD_ColorRGB() const noexcept {
return {r, g, b}; }
621 [[nodiscard]]
constexpr explicit operator TCOD_ColorRGBA() const noexcept {
return {r, g, b, 255}; }
628 [[nodiscard]]
constexpr explicit operator tcod::ColorRGB() const noexcept {
return {r, g, b}; };
635 [[nodiscard]]
constexpr explicit operator tcod::ColorRGBA() const noexcept {
return {r, g, b, 255}; };
639 static const TCODColor colors [[deprecated]][TCOD_COLOR_NB][TCOD_COLOR_LEVELS];
642 static const TCODColor black [[deprecated(
"Replace with tcod::ColorRGB{0, 0, 0}")]];
643 static const TCODColor darkestGrey [[deprecated(
"Replace with tcod::ColorRGB{31, 31, 31}")]];
644 static const TCODColor darkerGrey [[deprecated(
"Replace with tcod::ColorRGB{63, 63, 63}")]];
645 static const TCODColor darkGrey [[deprecated(
"Replace with tcod::ColorRGB{95, 95, 95}")]];
646 static const TCODColor grey [[deprecated(
"Replace with tcod::ColorRGB{127, 127, 127}")]];
647 static const TCODColor lightGrey [[deprecated(
"Replace with tcod::ColorRGB{159, 159, 159}")]];
648 static const TCODColor lighterGrey [[deprecated(
"Replace with tcod::ColorRGB{191, 191, 191}")]];
649 static const TCODColor lightestGrey [[deprecated(
"Replace with tcod::ColorRGB{223, 223, 223}")]];
650 static const TCODColor white [[deprecated(
"Replace with tcod::ColorRGB{255, 255, 255}")]];
653 static const TCODColor darkestSepia [[deprecated(
"Replace with tcod::ColorRGB{31, 24, 15}")]];
654 static const TCODColor darkerSepia [[deprecated(
"Replace with tcod::ColorRGB{63, 50, 31}")]];
655 static const TCODColor darkSepia [[deprecated(
"Replace with tcod::ColorRGB{94, 75, 47}")]];
656 static const TCODColor sepia [[deprecated(
"Replace with tcod::ColorRGB{127, 101, 63}")]];
657 static const TCODColor lightSepia [[deprecated(
"Replace with tcod::ColorRGB{158, 134, 100}")]];
658 static const TCODColor lighterSepia [[deprecated(
"Replace with tcod::ColorRGB{191, 171, 143}")]];
659 static const TCODColor lightestSepia [[deprecated(
"Replace with tcod::ColorRGB{222, 211, 195}")]];
662 static const TCODColor red [[deprecated(
"Replace with tcod::ColorRGB{255, 0, 0}")]];
663 static const TCODColor flame [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 0}")]];
664 static const TCODColor orange [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 0}")]];
665 static const TCODColor amber [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 0}")]];
666 static const TCODColor yellow [[deprecated(
"Replace with tcod::ColorRGB{255, 255, 0}")]];
667 static const TCODColor lime [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 0}")]];
668 static const TCODColor chartreuse [[deprecated(
"Replace with tcod::ColorRGB{127, 255, 0}")]];
669 static const TCODColor green [[deprecated(
"Replace with tcod::ColorRGB{0, 255, 0}")]];
670 static const TCODColor sea [[deprecated(
"Replace with tcod::ColorRGB{0, 255, 127}")]];
671 static const TCODColor turquoise [[deprecated(
"Replace with tcod::ColorRGB{0, 255, 191}")]];
672 static const TCODColor cyan [[deprecated(
"Replace with tcod::ColorRGB{0, 255, 255}")]];
673 static const TCODColor sky [[deprecated(
"Replace with tcod::ColorRGB{0, 191, 255}")]];
674 static const TCODColor azure [[deprecated(
"Replace with tcod::ColorRGB{0, 127, 255}")]];
675 static const TCODColor blue [[deprecated(
"Replace with tcod::ColorRGB{0, 0, 255}")]];
676 static const TCODColor han [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 255}")]];
677 static const TCODColor violet [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 255}")]];
678 static const TCODColor purple [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 255}")]];
679 static const TCODColor fuchsia [[deprecated(
"Replace with tcod::ColorRGB{255, 0, 255}")]];
680 static const TCODColor magenta [[deprecated(
"Replace with tcod::ColorRGB{255, 0, 191}")]];
681 static const TCODColor pink [[deprecated(
"Replace with tcod::ColorRGB{255, 0, 127}")]];
682 static const TCODColor crimson [[deprecated(
"Replace with tcod::ColorRGB{255, 0, 63}")]];
685 static const TCODColor darkRed [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 0}")]];
686 static const TCODColor darkFlame [[deprecated(
"Replace with tcod::ColorRGB{191, 47, 0}")]];
687 static const TCODColor darkOrange [[deprecated(
"Replace with tcod::ColorRGB{191, 95, 0}")]];
688 static const TCODColor darkAmber [[deprecated(
"Replace with tcod::ColorRGB{191, 143, 0}")]];
689 static const TCODColor darkYellow [[deprecated(
"Replace with tcod::ColorRGB{191, 191, 0}")]];
690 static const TCODColor darkLime [[deprecated(
"Replace with tcod::ColorRGB{143, 191, 0}")]];
691 static const TCODColor darkChartreuse [[deprecated(
"Replace with tcod::ColorRGB{95, 191, 0}")]];
692 static const TCODColor darkGreen [[deprecated(
"Replace with tcod::ColorRGB{0, 191, 0}")]];
693 static const TCODColor darkSea [[deprecated(
"Replace with tcod::ColorRGB{0, 191, 95}")]];
694 static const TCODColor darkTurquoise [[deprecated(
"Replace with tcod::ColorRGB{0, 191, 143}")]];
695 static const TCODColor darkCyan [[deprecated(
"Replace with tcod::ColorRGB{0, 191, 191}")]];
696 static const TCODColor darkSky [[deprecated(
"Replace with tcod::ColorRGB{0, 143, 191}")]];
697 static const TCODColor darkAzure [[deprecated(
"Replace with tcod::ColorRGB{0, 95, 191}")]];
698 static const TCODColor darkBlue [[deprecated(
"Replace with tcod::ColorRGB{0, 0, 191}")]];
699 static const TCODColor darkHan [[deprecated(
"Replace with tcod::ColorRGB{47, 0, 191}")]];
700 static const TCODColor darkViolet [[deprecated(
"Replace with tcod::ColorRGB{95, 0, 191}")]];
701 static const TCODColor darkPurple [[deprecated(
"Replace with tcod::ColorRGB{143, 0, 191}")]];
702 static const TCODColor darkFuchsia [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 191}")]];
703 static const TCODColor darkMagenta [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 143}")]];
704 static const TCODColor darkPink [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 95}")]];
705 static const TCODColor darkCrimson [[deprecated(
"Replace with tcod::ColorRGB{191, 0, 47}")]];
708 static const TCODColor darkerRed [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 0}")]];
709 static const TCODColor darkerFlame [[deprecated(
"Replace with tcod::ColorRGB{127, 31, 0}")]];
710 static const TCODColor darkerOrange [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 0}")]];
711 static const TCODColor darkerAmber [[deprecated(
"Replace with tcod::ColorRGB{127, 95, 0}")]];
712 static const TCODColor darkerYellow [[deprecated(
"Replace with tcod::ColorRGB{127, 127, 0}")]];
713 static const TCODColor darkerLime [[deprecated(
"Replace with tcod::ColorRGB{95, 127, 0}")]];
714 static const TCODColor darkerChartreuse [[deprecated(
"Replace with tcod::ColorRGB{63, 127, 0}")]];
715 static const TCODColor darkerGreen [[deprecated(
"Replace with tcod::ColorRGB{0, 127, 0}")]];
716 static const TCODColor darkerSea [[deprecated(
"Replace with tcod::ColorRGB{0, 127, 63}")]];
717 static const TCODColor darkerTurquoise [[deprecated(
"Replace with tcod::ColorRGB{0, 127, 95}")]];
718 static const TCODColor darkerCyan [[deprecated(
"Replace with tcod::ColorRGB{0, 127, 127}")]];
719 static const TCODColor darkerSky [[deprecated(
"Replace with tcod::ColorRGB{0, 95, 127}")]];
720 static const TCODColor darkerAzure [[deprecated(
"Replace with tcod::ColorRGB{0, 63, 127}")]];
721 static const TCODColor darkerBlue [[deprecated(
"Replace with tcod::ColorRGB{0, 0, 127}")]];
722 static const TCODColor darkerHan [[deprecated(
"Replace with tcod::ColorRGB{31, 0, 127}")]];
723 static const TCODColor darkerViolet [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 127}")]];
724 static const TCODColor darkerPurple [[deprecated(
"Replace with tcod::ColorRGB{95, 0, 127}")]];
725 static const TCODColor darkerFuchsia [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 127}")]];
726 static const TCODColor darkerMagenta [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 95}")]];
727 static const TCODColor darkerPink [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 63}")]];
728 static const TCODColor darkerCrimson [[deprecated(
"Replace with tcod::ColorRGB{127, 0, 31}")]];
731 static const TCODColor darkestRed [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 0}")]];
732 static const TCODColor darkestFlame [[deprecated(
"Replace with tcod::ColorRGB{63, 15, 0}")]];
733 static const TCODColor darkestOrange [[deprecated(
"Replace with tcod::ColorRGB{63, 31, 0}")]];
734 static const TCODColor darkestAmber [[deprecated(
"Replace with tcod::ColorRGB{63, 47, 0}")]];
735 static const TCODColor darkestYellow [[deprecated(
"Replace with tcod::ColorRGB{63, 63, 0}")]];
736 static const TCODColor darkestLime [[deprecated(
"Replace with tcod::ColorRGB{47, 63, 0}")]];
737 static const TCODColor darkestChartreuse [[deprecated(
"Replace with tcod::ColorRGB{31, 63, 0}")]];
738 static const TCODColor darkestGreen [[deprecated(
"Replace with tcod::ColorRGB{0, 63, 0}")]];
739 static const TCODColor darkestSea [[deprecated(
"Replace with tcod::ColorRGB{0, 63, 31}")]];
740 static const TCODColor darkestTurquoise [[deprecated(
"Replace with tcod::ColorRGB{0, 63, 47}")]];
741 static const TCODColor darkestCyan [[deprecated(
"Replace with tcod::ColorRGB{0, 63, 63}")]];
742 static const TCODColor darkestSky [[deprecated(
"Replace with tcod::ColorRGB{0, 47, 63}")]];
743 static const TCODColor darkestAzure [[deprecated(
"Replace with tcod::ColorRGB{0, 31, 63}")]];
744 static const TCODColor darkestBlue [[deprecated(
"Replace with tcod::ColorRGB{0, 0, 63}")]];
745 static const TCODColor darkestHan [[deprecated(
"Replace with tcod::ColorRGB{15, 0, 63}")]];
746 static const TCODColor darkestViolet [[deprecated(
"Replace with tcod::ColorRGB{31, 0, 63}")]];
747 static const TCODColor darkestPurple [[deprecated(
"Replace with tcod::ColorRGB{47, 0, 63}")]];
748 static const TCODColor darkestFuchsia [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 63}")]];
749 static const TCODColor darkestMagenta [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 47}")]];
750 static const TCODColor darkestPink [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 31}")]];
751 static const TCODColor darkestCrimson [[deprecated(
"Replace with tcod::ColorRGB{63, 0, 15}")]];
754 static const TCODColor lightRed [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 63}")]];
755 static const TCODColor lightFlame [[deprecated(
"Replace with tcod::ColorRGB{255, 111, 63}")]];
756 static const TCODColor lightOrange [[deprecated(
"Replace with tcod::ColorRGB{255, 159, 63}")]];
757 static const TCODColor lightAmber [[deprecated(
"Replace with tcod::ColorRGB{255, 207, 63}")]];
758 static const TCODColor lightYellow [[deprecated(
"Replace with tcod::ColorRGB{255, 255, 63}")]];
759 static const TCODColor lightLime [[deprecated(
"Replace with tcod::ColorRGB{207, 255, 63}")]];
760 static const TCODColor lightChartreuse [[deprecated(
"Replace with tcod::ColorRGB{159, 255, 63}")]];
761 static const TCODColor lightGreen [[deprecated(
"Replace with tcod::ColorRGB{63, 255, 63}")]];
762 static const TCODColor lightSea [[deprecated(
"Replace with tcod::ColorRGB{63, 255, 159}")]];
763 static const TCODColor lightTurquoise [[deprecated(
"Replace with tcod::ColorRGB{63, 255, 207}")]];
764 static const TCODColor lightCyan [[deprecated(
"Replace with tcod::ColorRGB{63, 255, 255}")]];
765 static const TCODColor lightSky [[deprecated(
"Replace with tcod::ColorRGB{63, 207, 255}")]];
766 static const TCODColor lightAzure [[deprecated(
"Replace with tcod::ColorRGB{63, 159, 255}")]];
767 static const TCODColor lightBlue [[deprecated(
"Replace with tcod::ColorRGB{63, 63, 255}")]];
768 static const TCODColor lightHan [[deprecated(
"Replace with tcod::ColorRGB{111, 63, 255}")]];
769 static const TCODColor lightViolet [[deprecated(
"Replace with tcod::ColorRGB{159, 63, 255}")]];
770 static const TCODColor lightPurple [[deprecated(
"Replace with tcod::ColorRGB{207, 63, 255}")]];
771 static const TCODColor lightFuchsia [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 255}")]];
772 static const TCODColor lightMagenta [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 207}")]];
773 static const TCODColor lightPink [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 159}")]];
774 static const TCODColor lightCrimson [[deprecated(
"Replace with tcod::ColorRGB{255, 63, 111}")]];
777 static const TCODColor lighterRed [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 127}")]];
778 static const TCODColor lighterFlame [[deprecated(
"Replace with tcod::ColorRGB{255, 159, 127}")]];
779 static const TCODColor lighterOrange [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 127}")]];
780 static const TCODColor lighterAmber [[deprecated(
"Replace with tcod::ColorRGB{255, 223, 127}")]];
781 static const TCODColor lighterYellow [[deprecated(
"Replace with tcod::ColorRGB{255, 255, 127}")]];
782 static const TCODColor lighterLime [[deprecated(
"Replace with tcod::ColorRGB{223, 255, 127}")]];
783 static const TCODColor lighterChartreuse [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 127}")]];
784 static const TCODColor lighterGreen [[deprecated(
"Replace with tcod::ColorRGB{127, 255, 127}")]];
785 static const TCODColor lighterSea [[deprecated(
"Replace with tcod::ColorRGB{127, 255, 191}")]];
786 static const TCODColor lighterTurquoise [[deprecated(
"Replace with tcod::ColorRGB{127, 255, 223}")]];
787 static const TCODColor lighterCyan [[deprecated(
"Replace with tcod::ColorRGB{127, 255, 255}")]];
788 static const TCODColor lighterSky [[deprecated(
"Replace with tcod::ColorRGB{127, 223, 255}")]];
789 static const TCODColor lighterAzure [[deprecated(
"Replace with tcod::ColorRGB{127, 191, 255}")]];
790 static const TCODColor lighterBlue [[deprecated(
"Replace with tcod::ColorRGB{127, 127, 255}")]];
791 static const TCODColor lighterHan [[deprecated(
"Replace with tcod::ColorRGB{159, 127, 255}")]];
792 static const TCODColor lighterViolet [[deprecated(
"Replace with tcod::ColorRGB{191, 127, 255}")]];
793 static const TCODColor lighterPurple [[deprecated(
"Replace with tcod::ColorRGB{223, 127, 255}")]];
794 static const TCODColor lighterFuchsia [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 255}")]];
795 static const TCODColor lighterMagenta [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 223}")]];
796 static const TCODColor lighterPink [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 191}")]];
797 static const TCODColor lighterCrimson [[deprecated(
"Replace with tcod::ColorRGB{255, 127, 159}")]];
800 static const TCODColor lightestRed [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 191}")]];
801 static const TCODColor lightestFlame [[deprecated(
"Replace with tcod::ColorRGB{255, 207, 191}")]];
802 static const TCODColor lightestOrange [[deprecated(
"Replace with tcod::ColorRGB{255, 223, 191}")]];
803 static const TCODColor lightestAmber [[deprecated(
"Replace with tcod::ColorRGB{255, 239, 191}")]];
804 static const TCODColor lightestYellow [[deprecated(
"Replace with tcod::ColorRGB{255, 255, 191}")]];
805 static const TCODColor lightestLime [[deprecated(
"Replace with tcod::ColorRGB{239, 255, 191}")]];
806 static const TCODColor lightestChartreuse [[deprecated(
"Replace with tcod::ColorRGB{223, 255, 191}")]];
807 static const TCODColor lightestGreen [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 191}")]];
808 static const TCODColor lightestSea [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 223}")]];
809 static const TCODColor lightestTurquoise [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 239}")]];
810 static const TCODColor lightestCyan [[deprecated(
"Replace with tcod::ColorRGB{191, 255, 255}")]];
811 static const TCODColor lightestSky [[deprecated(
"Replace with tcod::ColorRGB{191, 239, 255}")]];
812 static const TCODColor lightestAzure [[deprecated(
"Replace with tcod::ColorRGB{191, 223, 255}")]];
813 static const TCODColor lightestBlue [[deprecated(
"Replace with tcod::ColorRGB{191, 191, 255}")]];
814 static const TCODColor lightestHan [[deprecated(
"Replace with tcod::ColorRGB{207, 191, 255}")]];
815 static const TCODColor lightestViolet [[deprecated(
"Replace with tcod::ColorRGB{223, 191, 255}")]];
816 static const TCODColor lightestPurple [[deprecated(
"Replace with tcod::ColorRGB{239, 191, 255}")]];
817 static const TCODColor lightestFuchsia [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 255}")]];
818 static const TCODColor lightestMagenta [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 239}")]];
819 static const TCODColor lightestPink [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 223}")]];
820 static const TCODColor lightestCrimson [[deprecated(
"Replace with tcod::ColorRGB{255, 191, 207}")]];
823 static const TCODColor desaturatedRed [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 63}")]];
824 static const TCODColor desaturatedFlame [[deprecated(
"Replace with tcod::ColorRGB{127, 79, 63}")]];
825 static const TCODColor desaturatedOrange [[deprecated(
"Replace with tcod::ColorRGB{127, 95, 63}")]];
826 static const TCODColor desaturatedAmber [[deprecated(
"Replace with tcod::ColorRGB{127, 111, 63}")]];
827 static const TCODColor desaturatedYellow [[deprecated(
"Replace with tcod::ColorRGB{127, 127, 63}")]];
828 static const TCODColor desaturatedLime [[deprecated(
"Replace with tcod::ColorRGB{111, 127, 63}")]];
829 static const TCODColor desaturatedChartreuse [[deprecated(
"Replace with tcod::ColorRGB{95, 127, 63}")]];
830 static const TCODColor desaturatedGreen [[deprecated(
"Replace with tcod::ColorRGB{63, 127, 63}")]];
831 static const TCODColor desaturatedSea [[deprecated(
"Replace with tcod::ColorRGB{63, 127, 95}")]];
832 static const TCODColor desaturatedTurquoise [[deprecated(
"Replace with tcod::ColorRGB{63, 127, 111}")]];
833 static const TCODColor desaturatedCyan [[deprecated(
"Replace with tcod::ColorRGB{63, 127, 127}")]];
834 static const TCODColor desaturatedSky [[deprecated(
"Replace with tcod::ColorRGB{63, 111, 127}")]];
835 static const TCODColor desaturatedAzure [[deprecated(
"Replace with tcod::ColorRGB{63, 95, 127}")]];
836 static const TCODColor desaturatedBlue [[deprecated(
"Replace with tcod::ColorRGB{63, 63, 127}")]];
837 static const TCODColor desaturatedHan [[deprecated(
"Replace with tcod::ColorRGB{79, 63, 127}")]];
838 static const TCODColor desaturatedViolet [[deprecated(
"Replace with tcod::ColorRGB{95, 63, 127}")]];
839 static const TCODColor desaturatedPurple [[deprecated(
"Replace with tcod::ColorRGB{111, 63, 127}")]];
840 static const TCODColor desaturatedFuchsia [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 127}")]];
841 static const TCODColor desaturatedMagenta [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 111}")]];
842 static const TCODColor desaturatedPink [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 95}")]];
843 static const TCODColor desaturatedCrimson [[deprecated(
"Replace with tcod::ColorRGB{127, 63, 79}")]];
846 static const TCODColor brass [[deprecated(
"Replace with tcod::ColorRGB{191, 151, 96}")]];
847 static const TCODColor copper [[deprecated(
"Replace with tcod::ColorRGB{197, 136, 124}")]];
848 static const TCODColor gold [[deprecated(
"Replace with tcod::ColorRGB{229, 191, 0}")]];
849 static const TCODColor silver [[deprecated(
"Replace with tcod::ColorRGB{203, 203, 203}")]];
852 static const TCODColor celadon [[deprecated(
"Replace with tcod::ColorRGB{172, 255, 175}")]];
853 static const TCODColor peach [[deprecated(
"Replace with tcod::ColorRGB{255, 159, 127}")]];