Color-klassen
Egendefinerte farger
Klikk her å velge farge:
Forhåndsdefinerte farger
Det er vanligvis langt lettere å bruke en forhåndsdefinert farge i stedet for å måtte lete etter RGB verdier (bleh) eller lignende. Derfor har vi forhåndsdefinert en rekke farger for dere. De fargeverdiene du kan velge fra er vist i tabellen under.
Color verdi | Farge |
Color::transparent | (transparant) |
Color::black | |
Color::silver | |
Color::gray | |
Color::white | |
Color::maroon | |
Color::red | |
Color::purple | |
Color::magenta | |
Color::green | |
Color::lime | |
Color::olive | |
Color::yellow | |
Color::navy | |
Color::blue | |
Color::teal | |
Color::aqua | |
Color::orange | |
Color::alice_blue | |
Color::antique_white | |
Color::aquamarine | |
Color::azure | |
Color::beige | |
Color::bisque | |
Color::blanched_almond | |
Color::blue_violet | |
Color::brown | |
Color::burly_wood | |
Color::cadet_blue | |
Color::chart_reuse | |
Color::chocolate | |
Color::coral | |
Color::cornflower_blue | |
Color::corn_silk | |
Color::crimson | |
Color::cyan | |
Color::dark_blue | |
Color::dark_cyan | |
Color::dark_goldenrod | |
Color::dark_gray | |
Color::dark_green | |
Color::dark_grey | |
Color::dark_khaki | |
Color::dark_magenta | |
Color::dark_olivegreen | |
Color::dark_orange | |
Color::dark_orchid | |
Color::dark_red | |
Color::dark_salmon | |
Color::dark_seagreen | |
Color::dark_slateblue | |
Color::dark_slategray | |
Color::dark_slategrey | |
Color::dark_turquoise | |
Color::dark_violet | |
Color::deep_pink | |
Color::deep_skyblue | |
Color::dim_gray | |
Color::dim_grey | |
Color::dodger_blue | |
Color::firebrick | |
Color::floral_white | |
Color::forest_green | |
Color::gainsboro | |
Color::ghost_white | |
Color::gold | |
Color::goldenrod | |
Color::green_yellow | |
Color::grey | |
Color::honeydew | |
Color::hot_pink | |
Color::indian_red | |
Color::indigo | |
Color::ivory | |
Color::khaki | |
Color::lavender | |
Color::lavender_blush | |
Color::lawn_green | |
Color::lemon_chiffon | |
Color::light_blue | |
Color::light_coral | |
Color::light_cyan | |
Color::light_goldenrodyellow | |
Color::light_gray | |
Color::light_green | |
Color::light_grey | |
Color::light_pink | |
Color::light_salmon | |
Color::light_sea_green | |
Color::light_sky_blue | |
Color::light_slate_gray | |
Color::light_slate_grey | |
Color::light_steel_blue | |
Color::light_yellow | |
Color::lime_green | |
Color::linen | |
Color::medium_aquamarine | |
Color::medium_blue | |
Color::medium_orchid | |
Color::medium_purple | |
Color::medium_sea_green | |
Color::medium_slate_blue | |
Color::medium_spring_green | |
Color::medium_turquoise | |
Color::medium_violet_red | |
Color::midnight_blue | |
Color::mint_cream | |
Color::misty_rose | |
Color::moccasin | |
Color::navajo_white | |
Color::old_lace | |
Color::olivedrab | |
Color::orange_red | |
Color::orchid | |
Color::pale_goldenrod | |
Color::pale_green | |
Color::pale_turquoise | |
Color::pale_violet_red | |
Color::papayawhip | |
Color::peachpuff | |
Color::peru | |
Color::pink | |
Color::plum | |
Color::powder_blue | |
Color::rosy_brown | |
Color::royal_blue | |
Color::saddle_brown | |
Color::salmon | |
Color::sandy_brown | |
Color::sea_green | |
Color::sea_shell | |
Color::sienna | |
Color::sky_blue | |
Color::slate_blue | |
Color::slate_gray | |
Color::slate_grey | |
Color::snow | |
Color::spring_green | |
Color::steel_blue | |
Color::tan | |
Color::thistle | |
Color::fuchsia | |
Color::tomato | |
Color::turquoise | |
Color::violet | |
Color::wheat | |
Color::white_smoke | |
Color::yellow_green | |
Color::rebecca_purple |