1 // Copyright 2022 The Pigweed Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not 4 // use this file except in compliance with the License. You may obtain a copy of 5 // the License at 6 // 7 // https://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 // License for the specific language governing permissions and limitations under 13 // the License. 14 #pragma once 15 16 #include "pw_display/color.h" 17 18 namespace pw::display::colors::rgb565::e64 { 19 20 /// @defgroup pw_display_color_palette_endesga64 21 /// Named colors for the Endesga64 palette. 22 /// @{ 23 24 // clang-format off 25 constexpr ColorRgb565 kBlood = EncodeRgb565(0xff, 0x00, 0x40); 26 constexpr ColorRgb565 kBlack0 = EncodeRgb565(0x13, 0x13, 0x13); 27 constexpr ColorRgb565 kBlack1 = EncodeRgb565(0x1b, 0x1b, 0x1b); 28 constexpr ColorRgb565 kGray0 = EncodeRgb565(0x27, 0x27, 0x27); 29 constexpr ColorRgb565 kGray1 = EncodeRgb565(0x3d, 0x3d, 0x3d); 30 constexpr ColorRgb565 kGray2 = EncodeRgb565(0x5d, 0x5d, 0x5d); 31 constexpr ColorRgb565 kGray3 = EncodeRgb565(0x85, 0x85, 0x85); 32 constexpr ColorRgb565 kGray4 = EncodeRgb565(0xb4, 0xb4, 0xb4); 33 constexpr ColorRgb565 kWhite = EncodeRgb565(0xff, 0xff, 0xff); 34 constexpr ColorRgb565 kSteel6 = EncodeRgb565(0xc7, 0xcf, 0xdd); 35 constexpr ColorRgb565 kSteel5 = EncodeRgb565(0x92, 0xa1, 0xb9); 36 constexpr ColorRgb565 kSteel4 = EncodeRgb565(0x65, 0x73, 0x92); 37 constexpr ColorRgb565 kSteel3 = EncodeRgb565(0x42, 0x4c, 0x6e); 38 constexpr ColorRgb565 kSteel2 = EncodeRgb565(0x2a, 0x2f, 0x4e); 39 constexpr ColorRgb565 kSteel1 = EncodeRgb565(0x1a, 0x19, 0x32); 40 constexpr ColorRgb565 kSteel0 = EncodeRgb565(0x0e, 0x07, 0x1b); 41 constexpr ColorRgb565 kCoffee0 = EncodeRgb565(0x1c, 0x12, 0x1c); 42 constexpr ColorRgb565 kCoffee1 = EncodeRgb565(0x39, 0x1f, 0x21); 43 constexpr ColorRgb565 kCoffee2 = EncodeRgb565(0x5d, 0x2c, 0x28); 44 constexpr ColorRgb565 kCoffee3 = EncodeRgb565(0x8a, 0x48, 0x36); 45 constexpr ColorRgb565 kCoffee4 = EncodeRgb565(0xbf, 0x6f, 0x4a); 46 constexpr ColorRgb565 kCoffee5 = EncodeRgb565(0xe6, 0x9c, 0x69); 47 constexpr ColorRgb565 kCoffee6 = EncodeRgb565(0xf6, 0xca, 0x9f); 48 constexpr ColorRgb565 kCoffee7 = EncodeRgb565(0xf9, 0xe6, 0xcf); 49 constexpr ColorRgb565 kOrange3 = EncodeRgb565(0xed, 0xab, 0x50); 50 constexpr ColorRgb565 kOrange2 = EncodeRgb565(0xe0, 0x74, 0x38); 51 constexpr ColorRgb565 kOrange1 = EncodeRgb565(0xc6, 0x45, 0x24); 52 constexpr ColorRgb565 kOrange0 = EncodeRgb565(0x8e, 0x25, 0x1d); 53 constexpr ColorRgb565 kBrightOrange0 = EncodeRgb565(0xff, 0x50, 0x00); 54 constexpr ColorRgb565 kBrightOrange1 = EncodeRgb565(0xed, 0x76, 0x14); 55 constexpr ColorRgb565 kBrightOrange2 = EncodeRgb565(0xff, 0xa2, 0x14); 56 constexpr ColorRgb565 kYellow0 = EncodeRgb565(0xff, 0xc8, 0x25); 57 constexpr ColorRgb565 kYellow1 = EncodeRgb565(0xff, 0xeb, 0x57); 58 constexpr ColorRgb565 kGreen5 = EncodeRgb565(0xd3, 0xfc, 0x7e); 59 constexpr ColorRgb565 kGreen4 = EncodeRgb565(0x99, 0xe6, 0x5f); 60 constexpr ColorRgb565 kGreen3 = EncodeRgb565(0x5a, 0xc5, 0x4f); 61 constexpr ColorRgb565 kGreen2 = EncodeRgb565(0x33, 0x98, 0x4b); 62 constexpr ColorRgb565 kGreen1 = EncodeRgb565(0x1e, 0x6f, 0x50); 63 constexpr ColorRgb565 kGreen0 = EncodeRgb565(0x13, 0x4c, 0x4c); 64 constexpr ColorRgb565 kOcean0 = EncodeRgb565(0x0c, 0x2e, 0x44); 65 constexpr ColorRgb565 kOcean1 = EncodeRgb565(0x00, 0x39, 0x6d); 66 constexpr ColorRgb565 kOcean2 = EncodeRgb565(0x00, 0x69, 0xaa); 67 constexpr ColorRgb565 kOcean3 = EncodeRgb565(0x00, 0x98, 0xdc); 68 constexpr ColorRgb565 kOcean4 = EncodeRgb565(0x00, 0xcd, 0xf9); 69 constexpr ColorRgb565 kOcean5 = EncodeRgb565(0x0c, 0xf1, 0xff); 70 constexpr ColorRgb565 kOcean6 = EncodeRgb565(0x94, 0xfd, 0xff); 71 constexpr ColorRgb565 kCandyGrape3 = EncodeRgb565(0xfd, 0xd2, 0xed); 72 constexpr ColorRgb565 kCandyGrape2 = EncodeRgb565(0xf3, 0x89, 0xf5); 73 constexpr ColorRgb565 kCandyGrape1 = EncodeRgb565(0xdb, 0x3f, 0xfd); 74 constexpr ColorRgb565 kCandyGrape0 = EncodeRgb565(0x7a, 0x09, 0xfa); 75 constexpr ColorRgb565 kRoyalBlue2 = EncodeRgb565(0x30, 0x03, 0xd9); 76 constexpr ColorRgb565 kRoyalBlue1 = EncodeRgb565(0x0c, 0x02, 0x93); 77 constexpr ColorRgb565 kRoyalBlue0 = EncodeRgb565(0x03, 0x19, 0x3f); 78 constexpr ColorRgb565 kPurple0 = EncodeRgb565(0x3b, 0x14, 0x43); 79 constexpr ColorRgb565 kPurple1 = EncodeRgb565(0x62, 0x24, 0x61); 80 constexpr ColorRgb565 kPurple2 = EncodeRgb565(0x93, 0x38, 0x8f); 81 constexpr ColorRgb565 kPurple3 = EncodeRgb565(0xca, 0x52, 0xc9); 82 constexpr ColorRgb565 kSalmon0 = EncodeRgb565(0xc8, 0x50, 0x86); 83 constexpr ColorRgb565 kSalmon1 = EncodeRgb565(0xf6, 0x81, 0x87); 84 constexpr ColorRgb565 kRed4 = EncodeRgb565(0xf5, 0x55, 0x5d); 85 constexpr ColorRgb565 kRed3 = EncodeRgb565(0xea, 0x32, 0x3c); 86 constexpr ColorRgb565 kRed2 = EncodeRgb565(0xc4, 0x24, 0x30); 87 constexpr ColorRgb565 kRed1 = EncodeRgb565(0x89, 0x1e, 0x2b); 88 constexpr ColorRgb565 kRed0 = EncodeRgb565(0x57, 0x1c, 0x27); 89 // clang-format on 90 91 /// @} 92 93 } // namespace pw::display::colors::rgb565::e64 94