Created
March 30, 2023 05:50
-
-
Save iacore/d44cc9b12ba87950ed2f24bf7be760f9 to your computer and use it in GitHub Desktop.
opencolor for femtovg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub use inner::*; | |
#[rustfmt::skip] | |
mod inner { | |
use femtovg::Color; | |
use lazy_static::lazy_static; | |
lazy_static!{ pub static ref WHITE: Color = Color::rgb(0xff, 0xff, 0xff); } | |
lazy_static!{ pub static ref BLACK: Color = Color::rgb(0x00, 0x00, 0x00); } | |
lazy_static!{ pub static ref GRAY_0: Color = Color::rgb(0xf8, 0xf9, 0xfa); } | |
lazy_static!{ pub static ref GRAY_1: Color = Color::rgb(0xf1, 0xf3, 0xf5); } | |
lazy_static!{ pub static ref GRAY_2: Color = Color::rgb(0xe9, 0xec, 0xef); } | |
lazy_static!{ pub static ref GRAY_3: Color = Color::rgb(0xde, 0xe2, 0xe6); } | |
lazy_static!{ pub static ref GRAY_4: Color = Color::rgb(0xce, 0xd4, 0xda); } | |
lazy_static!{ pub static ref GRAY_5: Color = Color::rgb(0xad, 0xb5, 0xbd); } | |
lazy_static!{ pub static ref GRAY_6: Color = Color::rgb(0x86, 0x8e, 0x96); } | |
lazy_static!{ pub static ref GRAY_7: Color = Color::rgb(0x49, 0x50, 0x57); } | |
lazy_static!{ pub static ref GRAY_8: Color = Color::rgb(0x34, 0x3a, 0x40); } | |
lazy_static!{ pub static ref GRAY_9: Color = Color::rgb(0x21, 0x25, 0x29); } | |
lazy_static!{ pub static ref RED_0: Color = Color::rgb(0xff, 0xf5, 0xf5); } | |
lazy_static!{ pub static ref RED_1: Color = Color::rgb(0xff, 0xe3, 0xe3); } | |
lazy_static!{ pub static ref RED_2: Color = Color::rgb(0xff, 0xc9, 0xc9); } | |
lazy_static!{ pub static ref RED_3: Color = Color::rgb(0xff, 0xa8, 0xa8); } | |
lazy_static!{ pub static ref RED_4: Color = Color::rgb(0xff, 0x87, 0x87); } | |
lazy_static!{ pub static ref RED_5: Color = Color::rgb(0xff, 0x6b, 0x6b); } | |
lazy_static!{ pub static ref RED_6: Color = Color::rgb(0xfa, 0x52, 0x52); } | |
lazy_static!{ pub static ref RED_7: Color = Color::rgb(0xf0, 0x3e, 0x3e); } | |
lazy_static!{ pub static ref RED_8: Color = Color::rgb(0xe0, 0x31, 0x31); } | |
lazy_static!{ pub static ref RED_9: Color = Color::rgb(0xc9, 0x2a, 0x2a); } | |
lazy_static!{ pub static ref PINK_0: Color = Color::rgb(0xff, 0xf0, 0xf6); } | |
lazy_static!{ pub static ref PINK_1: Color = Color::rgb(0xff, 0xde, 0xeb); } | |
lazy_static!{ pub static ref PINK_2: Color = Color::rgb(0xfc, 0xc2, 0xd7); } | |
lazy_static!{ pub static ref PINK_3: Color = Color::rgb(0xfa, 0xa2, 0xc1); } | |
lazy_static!{ pub static ref PINK_4: Color = Color::rgb(0xf7, 0x83, 0xac); } | |
lazy_static!{ pub static ref PINK_5: Color = Color::rgb(0xf0, 0x65, 0x95); } | |
lazy_static!{ pub static ref PINK_6: Color = Color::rgb(0xe6, 0x49, 0x80); } | |
lazy_static!{ pub static ref PINK_7: Color = Color::rgb(0xd6, 0x33, 0x6c); } | |
lazy_static!{ pub static ref PINK_8: Color = Color::rgb(0xc2, 0x25, 0x5c); } | |
lazy_static!{ pub static ref PINK_9: Color = Color::rgb(0xa6, 0x1e, 0x4d); } | |
lazy_static!{ pub static ref GRAPE_0: Color = Color::rgb(0xf8, 0xf0, 0xfc); } | |
lazy_static!{ pub static ref GRAPE_1: Color = Color::rgb(0xf3, 0xd9, 0xfa); } | |
lazy_static!{ pub static ref GRAPE_2: Color = Color::rgb(0xee, 0xbe, 0xfa); } | |
lazy_static!{ pub static ref GRAPE_3: Color = Color::rgb(0xe5, 0x99, 0xf7); } | |
lazy_static!{ pub static ref GRAPE_4: Color = Color::rgb(0xda, 0x77, 0xf2); } | |
lazy_static!{ pub static ref GRAPE_5: Color = Color::rgb(0xcc, 0x5d, 0xe8); } | |
lazy_static!{ pub static ref GRAPE_6: Color = Color::rgb(0xbe, 0x4b, 0xdb); } | |
lazy_static!{ pub static ref GRAPE_7: Color = Color::rgb(0xae, 0x3e, 0xc9); } | |
lazy_static!{ pub static ref GRAPE_8: Color = Color::rgb(0x9c, 0x36, 0xb5); } | |
lazy_static!{ pub static ref GRAPE_9: Color = Color::rgb(0x86, 0x2e, 0x9c); } | |
lazy_static!{ pub static ref VIOLET_0: Color = Color::rgb(0xf3, 0xf0, 0xff); } | |
lazy_static!{ pub static ref VIOLET_1: Color = Color::rgb(0xe5, 0xdb, 0xff); } | |
lazy_static!{ pub static ref VIOLET_2: Color = Color::rgb(0xd0, 0xbf, 0xff); } | |
lazy_static!{ pub static ref VIOLET_3: Color = Color::rgb(0xb1, 0x97, 0xfc); } | |
lazy_static!{ pub static ref VIOLET_4: Color = Color::rgb(0x97, 0x75, 0xfa); } | |
lazy_static!{ pub static ref VIOLET_5: Color = Color::rgb(0x84, 0x5e, 0xf7); } | |
lazy_static!{ pub static ref VIOLET_6: Color = Color::rgb(0x79, 0x50, 0xf2); } | |
lazy_static!{ pub static ref VIOLET_7: Color = Color::rgb(0x70, 0x48, 0xe8); } | |
lazy_static!{ pub static ref VIOLET_8: Color = Color::rgb(0x67, 0x41, 0xd9); } | |
lazy_static!{ pub static ref VIOLET_9: Color = Color::rgb(0x5f, 0x3d, 0xc4); } | |
lazy_static!{ pub static ref INDIGO_0: Color = Color::rgb(0xed, 0xf2, 0xff); } | |
lazy_static!{ pub static ref INDIGO_1: Color = Color::rgb(0xdb, 0xe4, 0xff); } | |
lazy_static!{ pub static ref INDIGO_2: Color = Color::rgb(0xba, 0xc8, 0xff); } | |
lazy_static!{ pub static ref INDIGO_3: Color = Color::rgb(0x91, 0xa7, 0xff); } | |
lazy_static!{ pub static ref INDIGO_4: Color = Color::rgb(0x74, 0x8f, 0xfc); } | |
lazy_static!{ pub static ref INDIGO_5: Color = Color::rgb(0x5c, 0x7c, 0xfa); } | |
lazy_static!{ pub static ref INDIGO_6: Color = Color::rgb(0x4c, 0x6e, 0xf5); } | |
lazy_static!{ pub static ref INDIGO_7: Color = Color::rgb(0x42, 0x63, 0xeb); } | |
lazy_static!{ pub static ref INDIGO_8: Color = Color::rgb(0x3b, 0x5b, 0xdb); } | |
lazy_static!{ pub static ref INDIGO_9: Color = Color::rgb(0x36, 0x4f, 0xc7); } | |
lazy_static!{ pub static ref BLUE_0: Color = Color::rgb(0xe7, 0xf5, 0xff); } | |
lazy_static!{ pub static ref BLUE_1: Color = Color::rgb(0xd0, 0xeb, 0xff); } | |
lazy_static!{ pub static ref BLUE_2: Color = Color::rgb(0xa5, 0xd8, 0xff); } | |
lazy_static!{ pub static ref BLUE_3: Color = Color::rgb(0x74, 0xc0, 0xfc); } | |
lazy_static!{ pub static ref BLUE_4: Color = Color::rgb(0x4d, 0xab, 0xf7); } | |
lazy_static!{ pub static ref BLUE_5: Color = Color::rgb(0x33, 0x9a, 0xf0); } | |
lazy_static!{ pub static ref BLUE_6: Color = Color::rgb(0x22, 0x8b, 0xe6); } | |
lazy_static!{ pub static ref BLUE_7: Color = Color::rgb(0x1c, 0x7e, 0xd6); } | |
lazy_static!{ pub static ref BLUE_8: Color = Color::rgb(0x19, 0x71, 0xc2); } | |
lazy_static!{ pub static ref BLUE_9: Color = Color::rgb(0x18, 0x64, 0xab); } | |
lazy_static!{ pub static ref CYAN_0: Color = Color::rgb(0xe3, 0xfa, 0xfc); } | |
lazy_static!{ pub static ref CYAN_1: Color = Color::rgb(0xc5, 0xf6, 0xfa); } | |
lazy_static!{ pub static ref CYAN_2: Color = Color::rgb(0x99, 0xe9, 0xf2); } | |
lazy_static!{ pub static ref CYAN_3: Color = Color::rgb(0x66, 0xd9, 0xe8); } | |
lazy_static!{ pub static ref CYAN_4: Color = Color::rgb(0x3b, 0xc9, 0xdb); } | |
lazy_static!{ pub static ref CYAN_5: Color = Color::rgb(0x22, 0xb8, 0xcf); } | |
lazy_static!{ pub static ref CYAN_6: Color = Color::rgb(0x15, 0xaa, 0xbf); } | |
lazy_static!{ pub static ref CYAN_7: Color = Color::rgb(0x10, 0x98, 0xad); } | |
lazy_static!{ pub static ref CYAN_8: Color = Color::rgb(0x0c, 0x85, 0x99); } | |
lazy_static!{ pub static ref CYAN_9: Color = Color::rgb(0x0b, 0x72, 0x85); } | |
lazy_static!{ pub static ref TEAL_0: Color = Color::rgb(0xe6, 0xfc, 0xf5); } | |
lazy_static!{ pub static ref TEAL_1: Color = Color::rgb(0xc3, 0xfa, 0xe8); } | |
lazy_static!{ pub static ref TEAL_2: Color = Color::rgb(0x96, 0xf2, 0xd7); } | |
lazy_static!{ pub static ref TEAL_3: Color = Color::rgb(0x63, 0xe6, 0xbe); } | |
lazy_static!{ pub static ref TEAL_4: Color = Color::rgb(0x38, 0xd9, 0xa9); } | |
lazy_static!{ pub static ref TEAL_5: Color = Color::rgb(0x20, 0xc9, 0x97); } | |
lazy_static!{ pub static ref TEAL_6: Color = Color::rgb(0x12, 0xb8, 0x86); } | |
lazy_static!{ pub static ref TEAL_7: Color = Color::rgb(0x0c, 0xa6, 0x78); } | |
lazy_static!{ pub static ref TEAL_8: Color = Color::rgb(0x09, 0x92, 0x68); } | |
lazy_static!{ pub static ref TEAL_9: Color = Color::rgb(0x08, 0x7f, 0x5b); } | |
lazy_static!{ pub static ref GREEN_0: Color = Color::rgb(0xeb, 0xfb, 0xee); } | |
lazy_static!{ pub static ref GREEN_1: Color = Color::rgb(0xd3, 0xf9, 0xd8); } | |
lazy_static!{ pub static ref GREEN_2: Color = Color::rgb(0xb2, 0xf2, 0xbb); } | |
lazy_static!{ pub static ref GREEN_3: Color = Color::rgb(0x8c, 0xe9, 0x9a); } | |
lazy_static!{ pub static ref GREEN_4: Color = Color::rgb(0x69, 0xdb, 0x7c); } | |
lazy_static!{ pub static ref GREEN_5: Color = Color::rgb(0x51, 0xcf, 0x66); } | |
lazy_static!{ pub static ref GREEN_6: Color = Color::rgb(0x40, 0xc0, 0x57); } | |
lazy_static!{ pub static ref GREEN_7: Color = Color::rgb(0x37, 0xb2, 0x4d); } | |
lazy_static!{ pub static ref GREEN_8: Color = Color::rgb(0x2f, 0x9e, 0x44); } | |
lazy_static!{ pub static ref GREEN_9: Color = Color::rgb(0x2b, 0x8a, 0x3e); } | |
lazy_static!{ pub static ref LIME_0: Color = Color::rgb(0xf4, 0xfc, 0xe3); } | |
lazy_static!{ pub static ref LIME_1: Color = Color::rgb(0xe9, 0xfa, 0xc8); } | |
lazy_static!{ pub static ref LIME_2: Color = Color::rgb(0xd8, 0xf5, 0xa2); } | |
lazy_static!{ pub static ref LIME_3: Color = Color::rgb(0xc0, 0xeb, 0x75); } | |
lazy_static!{ pub static ref LIME_4: Color = Color::rgb(0xa9, 0xe3, 0x4b); } | |
lazy_static!{ pub static ref LIME_5: Color = Color::rgb(0x94, 0xd8, 0x2d); } | |
lazy_static!{ pub static ref LIME_6: Color = Color::rgb(0x82, 0xc9, 0x1e); } | |
lazy_static!{ pub static ref LIME_7: Color = Color::rgb(0x74, 0xb8, 0x16); } | |
lazy_static!{ pub static ref LIME_8: Color = Color::rgb(0x66, 0xa8, 0x0f); } | |
lazy_static!{ pub static ref LIME_9: Color = Color::rgb(0x5c, 0x94, 0x0d); } | |
lazy_static!{ pub static ref YELLOW_0: Color = Color::rgb(0xff, 0xf9, 0xdb); } | |
lazy_static!{ pub static ref YELLOW_1: Color = Color::rgb(0xff, 0xf3, 0xbf); } | |
lazy_static!{ pub static ref YELLOW_2: Color = Color::rgb(0xff, 0xec, 0x99); } | |
lazy_static!{ pub static ref YELLOW_3: Color = Color::rgb(0xff, 0xe0, 0x66); } | |
lazy_static!{ pub static ref YELLOW_4: Color = Color::rgb(0xff, 0xd4, 0x3b); } | |
lazy_static!{ pub static ref YELLOW_5: Color = Color::rgb(0xfc, 0xc4, 0x19); } | |
lazy_static!{ pub static ref YELLOW_6: Color = Color::rgb(0xfa, 0xb0, 0x05); } | |
lazy_static!{ pub static ref YELLOW_7: Color = Color::rgb(0xf5, 0x9f, 0x00); } | |
lazy_static!{ pub static ref YELLOW_8: Color = Color::rgb(0xf0, 0x8c, 0x00); } | |
lazy_static!{ pub static ref YELLOW_9: Color = Color::rgb(0xe6, 0x77, 0x00); } | |
lazy_static!{ pub static ref ORANGE_0: Color = Color::rgb(0xff, 0xf4, 0xe6); } | |
lazy_static!{ pub static ref ORANGE_1: Color = Color::rgb(0xff, 0xe8, 0xcc); } | |
lazy_static!{ pub static ref ORANGE_2: Color = Color::rgb(0xff, 0xd8, 0xa8); } | |
lazy_static!{ pub static ref ORANGE_3: Color = Color::rgb(0xff, 0xc0, 0x78); } | |
lazy_static!{ pub static ref ORANGE_4: Color = Color::rgb(0xff, 0xa9, 0x4d); } | |
lazy_static!{ pub static ref ORANGE_5: Color = Color::rgb(0xff, 0x92, 0x2b); } | |
lazy_static!{ pub static ref ORANGE_6: Color = Color::rgb(0xfd, 0x7e, 0x14); } | |
lazy_static!{ pub static ref ORANGE_7: Color = Color::rgb(0xf7, 0x67, 0x07); } | |
lazy_static!{ pub static ref ORANGE_8: Color = Color::rgb(0xe8, 0x59, 0x0c); } | |
lazy_static!{ pub static ref ORANGE_9: Color = Color::rgb(0xd9, 0x48, 0x0f); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment