{"id":15027451,"url":"https://github.com/blakermills/metbrewer","last_synced_at":"2025-05-14T07:09:26.148Z","repository":{"id":37754674,"uuid":"437311981","full_name":"BlakeRMills/MetBrewer","owner":"BlakeRMills","description":"Color palette package in R inspired by works at the Metropolitan Museum of Art in New York","archived":false,"fork":false,"pushed_at":"2025-01-03T16:52:43.000Z","size":158686,"stargazers_count":1154,"open_issues_count":11,"forks_count":85,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-02T00:32:12.738Z","etag":null,"topics":["colorpalette","data-visualization","museums","python","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlakeRMills.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-11T15:00:54.000Z","updated_at":"2025-04-24T11:03:02.000Z","dependencies_parsed_at":"2025-01-11T21:01:30.678Z","dependency_job_id":"d2faea5e-dd36-41fe-afe6-a9bb3d7bd91b","html_url":"https://github.com/BlakeRMills/MetBrewer","commit_stats":{"total_commits":123,"total_committers":8,"mean_commits":15.375,"dds":0.3414634146341463,"last_synced_commit":"8f06216764633854ba668bb52fc8db053675276e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeRMills%2FMetBrewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeRMills%2FMetBrewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeRMills%2FMetBrewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeRMills%2FMetBrewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakeRMills","download_url":"https://codeload.github.com/BlakeRMills/MetBrewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092787,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colorpalette","data-visualization","museums","python","r"],"created_at":"2024-09-24T20:06:27.258Z","updated_at":"2025-05-14T07:09:21.131Z","avatar_url":"https://github.com/BlakeRMills.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MetBrewer \u003cimg align=\"right\" src=\"https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Hex/MetBrewerHex.jpg\" width=400\u003e\nPalettes inspired by works at the Metropolitan Museum of Art in New York. Pieces selected come from various time periods, regions, and mediums. \n\n![CRAN Version](https://www.r-pkg.org/badges/version/MetBrewer)\n![CRAN Downloads](https://cranlogs.r-pkg.org/badges/MetBrewer)\n\nStructure of the package was based on coding from the [`PNWColors`](https://github.com/jakelawlor/PNWColors) and [`wesanderson`](https://github.com/karthik/wesanderson) packages. Inspired by the package [`RColorBrewer`](https://cran.r-project.org/web/packages/RColorBrewer/RColorBrewer.pdf) from the work of [Cynthia Brewer](http://colorbrewer2.org).\n\nFor requests, questions, comments, concerns, or any thing else, feel free to reach out to me:\u003cbr /\u003e\nMy Website: [here](https://www.blakerobertmills.com)\u003cbr /\u003e Twitter: [here](https://twitter.com/BlakeRobMills)\u003cbr /\u003e LinkedIn: [here](https://www.linkedin.com/in/blake-m-79a74513a/) \u003cbr /\u003eEmail: blakerobertmills@gmail.com\n\n# Content\n[Installation](#install-package)\n\n[Palettes](#palettes)\n\n[Functions](#functions)\n\n[Colorblind Checking](#colorblind-friendly-checking)\n\n## Install Package\n### R\nMetBrewer is now able to be downloaded directly through R. You can still download through GitHub as well.\n\n```r\ninstall.packages(\"MetBrewer\")\n\ninstall.packages(\"devtools\")\ndevtools::install_github(\"BlakeRMills/MetBrewer\")\n```\n\n### Python\nInstall the package under the `Python/` directory directly:\n```\npython setup.py install\n```\nor via pip:\n```\npip install .\n```\nor place the file into your source directory.\n\nUse it in your code:\n```python\nimport met_brewer\ncolors = met_brew(name=\"VanGogh1\", n=123, brew_type=\"continuous\")\n```\n\n## Palettes\n\n### All Palettes\n![AllPals](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/AllPalettes.png)\n\n### Archambault \n![Archambault](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Archambault.png)\n- Woman’s Dress and Accessories, 2005, Jodi Archambault, Hunkpapa Lakota (Teton Sioux), [Link](https://www.metmuseum.org/art/collection/search/644324)\n-  Colorblind-Friendly\n***\n\n### Austria\n![Austria](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Austria.png)\n- Adoration of the Magi from Seven Scenes from the Life of Christ, 1390, Artists Unknown, Austrian, [Link](https://www.metmuseum.org/art/collection/search/469959)\n***\n\n### Benedictus\n![Benedictus](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Benedictus.png)\n- Relais, 1930 : quinze planches donnant quarante-deux motifs décoratifs : enluminure d'art de J. Saudé : préliminaires de Y. Rambosson, 1930, Edouard Bénedictus, French, [Link](https://www.metmuseum.org/art/collection/search/812492)\n***\n\n### Cassatt1\n![Cassatt](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Cassatt1.png)\n- The Cup of Tea, 1880-1881, Mary Cassatt, American, [Link](https://www.metmuseum.org/art/collection/search/10388)\n- Colorblind-Friendly\n***\n\n### Cassatt2\n![Cassatt2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Cassatt2.png)\n- Lilacs in a Window (Vase de Lilas a la Fenetre), 1880–83, Mary Cassatt, American, [Link](https://www.metmuseum.org/art/collection/search/13758)\n- Colorblind-Friendly\n***\n\n### Cross\n![Cross](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Cross.png)\n- Cap Nègre, 1909, Henri-Edmond Cross, French, [Link](https://www.metmuseum.org/art/collection/search/459734)\n***\n\n### Degas\n![Degas](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Degas.png)\n- The Rehearsal of the Ballet Onstage, 1874, Edgar Degas, French, [Link](https://www.metmuseum.org/art/collection/search/436155)\n***\n\n### Demuth\n![Demuth](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Demuth.png)\n- I Saw the Figure 5 in Gold, 1928, Charles Demuth, American, [Link](https://www.metmuseum.org/art/collection/search/488315)\n- Colorblind-Friendly\n***\n\n### Derain\n![Derain](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Derain.png)\n- The Palace of Westminster, 1906–1907, André Derain, French, [Link](https://www.metmuseum.org/art/collection/search/459144)\n- Colorblind-Friendly\n***\n\n### Egypt\n![Egypt](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Egypt.png)\n- The King with Isis, Tomb of Haremhab, A.D. 1910–1911; original ca. 1323–1295 B.C., Twentieth Century; original New Kingdom, [Link](https://www.metmuseum.org/art/collection/search/557794?searchField=All\u0026amp;sortBy=Relevance\u0026amp;deptids=10\u0026amp;ao=on\u0026amp;ft=*\u0026amp;offset=0\u0026amp;rpp=80\u0026amp;pos=63)\n- Colorblind-Friendly\n***\n\n### Gauguin\n![Gauguin](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Gauguin.png)\n- A Farm in Brittany, 1874, Paul Gauguin, French, [Link](https://www.metmuseum.org/art/collection/search/436448)\n***\n\n### Greek\n![Greek](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Greek.png)\n- Terracotta neck-amphora (jar), ca. 550–540 B.C., Greek, [Link](https://www.metmuseum.org/art/collection/search/254199)\n- Colorblind-Friendly\n***\n\n### Hiroshige\n![Hiroshige](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Hiroshige.png)\n- Sailing Boats Returning to Yabase, Lake Biwa, 1835, Utagawa Hiroshige, Japanese, [Link](https://www.metmuseum.org/art/collection/search/36534)\n- Colorblind-Friendly\n***\n\n### Hokusai1\n![Hokusai](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Hokusai1.png)\n- Poem by Gon-Chūnagon Sadaie, from the series One Hundred Poems Explained by the Nurse (Hyakunin isshu uba ga etoki), 1760–1849, Katsushika Hokusai, Japanese, [Link](https://www.metmuseum.org/art/collection/search/56157)\n***\n\n### Hokusai2\n![Hokusai2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Hokusai2.png)\n- Lake Suwa in Shinano Province (Shinshū Suwako), from the series Thirty-six Views of Mount Fuji (Fugaku sanjūrokkei), 1830-32, Katsushika Hokusai, Japanese, [Link](https://www.metmuseum.org/art/collection/search/56240)\n- Colorblind-Friendly\n***\n\n### Hokusai3\n![Hokusai3](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Hokusai3.png)\n- Yōrō Waterfall in Mino Province (Mino no Yōrō no taki), from the series A Tour of Waterfalls in Various Provinces (Shokoku taki meguri), 1832, Katsushika Hokusai, Japanese, [Link](https://www.metmuseum.org/art/collection/search/56146)\n- Colorblind-Friendly\n***\n\n### Homer1\n![Homer1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Homer1.png)\n- The Veteran in a New Field, 1865, Winslow Homer, American, [Link](https://www.metmuseum.org/art/collection/search/11145)\n***\n\n### Homer2\n![Homer2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Homer2%20(Update).png)\n- Flower Garden and Bungalow, Bermuda, 1899, Winslow Homer, American, [Link](https://www.metmuseum.org/art/collection/search/11121)\n***\n\n### Ingres\n![Ingres](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Ingres.png)\n- Joséphine-Éléonore-Marie-Pauline de Galard de Brassac de Béarn (1825–1860), Princesse de Broglie, 1851–53, Jean Auguste Dominique Ingres, French, [Link](https://www.metmuseum.org/art/collection/search/459106)\n- Colorblind-Friendly\n***\n\n### Isfahan1\n![Isfahan1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Isfahan1%20(Update).png)\n- Mihrab (Prayer Niche), dated A.H. 755/ A.D. 1354–55,  From Iran, Isfahan, [Link](https://www.metmuseum.org/art/collection/search/449537?searchField=All\u0026amp;sortBy=Relevance\u0026amp;ft=Mihrab\u0026amp;offset=0\u0026amp;rpp=20\u0026amp;pos=1)\n- Colorblind-Friendly\n***\n\n### Isfahan2\n![Isfahan2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Isfahan2.png)\n- Garden Gathering, 1640–50, From Iran, Isfahan, [Link](https://www.metmuseum.org/art/collection/search/455082)\n- Colorblind-Friendly\n***\n\n### Java\n![Java](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Java.png)\n- Skirt, 20th Century, Javanese People, Javanese, [Link](https://www.metmuseum.org/art/collection/search/85689)\n- Colorblind-Friendly\n***\n\n### Johnson\n![Johnson](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Johnson.png)\nJitterbugs V, 1941–42, William Henry Johnson, American, [Link](https://www.metmuseum.org/art/collection/search/491485)\n- Colorblind-Friendly\n***\n\n### Juarez\n![Juarez](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Juarez.png)\n- The Entombment of Christ, 1702, Juan Rodríguez Juárez, Mexican, [Link](https://www.metmuseum.org/art/collection/search/631985)\n***\n\n### Kandinsky\n![Kandinsky](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Kandinsky.png)\nKleine Welten IV (Small Worlds IV), 1922, Vasily Kandinsky, French, born Russia, [Link](https://www.metmuseum.org/art/collection/search/369093?sortBy=Relevance\u0026amp;ft=Vasily+Kandinsky\u0026amp;offset=0\u0026amp;rpp=40\u0026amp;pos=12)\n- Colorblind-Friendly\n***\n\n### Klimt\n![Klimt](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Klimt.png)\n- Mäda Primavesi (1903–2000), 1912-13, Gustav Klimt, Austrian, [Link](https://www.metmuseum.org/art/collection/search/436819)\n***\n\n### Lakota\n![Lakota](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Lakota.png)\n- Dress, 1870, Lakota/Teton Sioux, Native American, [Link](https://www.metmuseum.org/art/collection/search/751512)\n***\n\n### Manet\n![Manet](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Manet.png)\n- Boating, 1874, Edouard Manet, French, [Link](https://www.metmuseum.org/art/collection/search/436947?searchField=All\u0026amp;sortBy=Relevance\u0026amp;ft=manet\u0026amp;offset=0\u0026amp;rpp=20\u0026amp;pos=8)\n***\n\n### Monet\n![Monet](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Monet.png)\n- Bridge over a Pond of Water Lilies, 1899, Claude Monet, French, [Link](https://www.metmuseum.org/art/collection/search/437127?searchField=All\u0026amp;sortBy=Relevance\u0026amp;ft=Monet\u0026amp;offset=0\u0026amp;rpp=20\u0026amp;pos=4)\n***\n\n### Moreau\n![Moreau](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Moreau.png)\n- Oedipus and the Sphinx, 1864, Gustave Moreau, French, [Link](https://www.metmuseum.org/art/collection/search/437153)\n***\n\n### Morgenstern\n![Morgenstern](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Morgenstern%20(Update).png)\n- Jungfrau, Mönch, and Eiger, 1851, Carl Morgenstern, German, [Link](https://www.metmuseum.org/art/collection/search/440360)\n- Colorblind-Friendly\n***\n\n### Nattier\n![Nattier](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Nattier.png)\n- Madame Bergeret de Frouville as Diana, 1756, Jean Marc Nattier, French, [Link](Link)\n***\n\n### Navajo\n![Navajo](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Navajo.png)\n- Serape, 1865–70, Navajo, [Link](https://www.metmuseum.org/art/collection/search/823657)\n***\n\n### NewKingdom\n![NewKingdom](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/NewKingdom.png)\n- Blue-Painted Ibex Amphora from Malqata, ca. 1390–1353 B.C., New Kingdom, [Link](https://www.metmuseum.org/art/collection/search/544501)\n***\n\n### Nizami\n![Nizami](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Nizami.png)\n- \"Laila and Majnun in School\", Folio 129 from a Khamsa (Quintet) of Nizami of Ganja, A.H. 931/A.D. 1524–25, Nizami, Made in present-day Afghanistan, Herat, [Link](https://www.metmuseum.org/art/collection/search/446603)\n***\n\n### OKeeffe1\n![OKeeffe1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/OKeeffe1.png)\n- From the Faraway, Nearby, 1937, Georgia O'Keeffe, American, [Link](https://www.metmuseum.org/art/collection/search/489064)\n- Colorblind-Friendly\n***\n\n### OKeeffe2\n![OKeeffe2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/OKeeffe2.png)\n- Red and Yellow Cliffs, 1940, Georgia O'Keeffe, American, [Link](https://www.metmuseum.org/art/collection/search/484833)\n- Colorblind-Friendly\n***\n\n### Paquin\n![Paquin](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Paquin.png)\n- Evening Dress, 1937, House of Paquin by Ana de Pombo, French House, Spanish Designer, [Link](https://www.metmuseum.org/art/collection/search/138291)\n***\n\n### Peru1\n![Peru1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Peru1.png)\n- Ear Ornament, Winged Runner, A.D. 400–700, Moche, Peruvian, [Link](https://www.metmuseum.org/art/collection/search/309428)\n***\n\n### Peru2\n![Peru2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Peru2%20(Update).png)\n- Tunic with Confronting Catfish, A.D. 800–850, Nasca-Wari, Peruvian, [Link](https://www.metmuseum.org/art/collection/search/307975)\n***\n\n### Pillement\n![Pillement](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Pillement.png)\n- A Shipwreck in a Storm, 1782, Jean Pillement, French, [Link](https://www.metmuseum.org/art/collection/search/437292)\n- Colorblind-Friendly\n***\n\n### Pissaro\n![Pissaro](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Pissaro.png)\n- Washerwoman, Study, 1880, Camille Pissarro, French, [Link](https://www.metmuseum.org/art/collection/search/437303)\n***\n\n### Redon\n![Redon](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Redon.png)\n- Pandora, 1914, Odilon Redon, French, [Link](https://www.metmuseum.org/art/collection/search/437383)\n***\n\n### Renoir\n![Renoir](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Renoir.png)\n- Nini in the Garden (Nini Lopez), 1876, Auguste Renoir, French, [Link](https://www.metmuseum.org/art/collection/search/438010?searchField=All\u0026amp;sortBy=Relevance\u0026amp;ft=Renoir\u0026amp;offset=0\u0026amp;rpp=20\u0026amp;pos=8)\n***\n\n### Signac\n![Signac](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Signac.png)\n- Notre-Dame-de-la-Garde (La Bonne-Mère), Marseilles, 1905-06, Paul Signac, French, [Link](https://www.metmuseum.org/art/collection/search/437672)\n***\n\n### Tam\n![Tam](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Tam.png)\n- Dragon Robe, 1998, Vivienne Tam, American, born China, [Link](https://www.metmuseum.org/art/collection/search/113019)\n- Colorblind-Friendly\n***\n\n### Tara\n![Tara](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Tara.png)\n- Maharana Sarup Singh Inspects a Prize Stallion, 1845–46, Tara, Western India, Rajasthan, Mewar, [Link](https://www.metmuseum.org/art/collection/search/61429)\n***\n\n### Thomas\n![Thomas](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Thomas.png)\n- Formes et couleurs: vingt planches en couleurs contenant soixante-sept motifs decoratifs, 1921, Auguste H. Thomas, French, [Link](https://www.metmuseum.org/art/collection/search/591870?searchField=All\u0026amp;sortBy=Relevance\u0026amp;ft=art+deco\u0026amp;offset=0\u0026amp;rpp=20\u0026amp;pos=11)\n***\n\n### Tiepolo\n![Tiepolo](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Tiepolo.png)\n- The Glorification of the Barbaro Family, 1750, Giovanni Battista Tiepolo, Italian, [Link](https://www.metmuseum.org/art/collection/search/437798)\n***\n\n### Troy\n![Troy](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Troy.png)\n- The Declaration of Love, 1724, Jean François de Troy, French, [Link](https://www.metmuseum.org/art/collection/search/438127)\n- Colorblind-Friendly\n***\n\n### Tsimshian\n![Tsimshian](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Tsimshian.png)\n- Headdress frontlet, 1820–40, Tsimshian, Native American (Canadian), [Link](https://www.metmuseum.org/art/collection/search/717587)\n***\n\n### VanGogh1\n![VanGogh1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/VanGogh1.png)\n- Cypresses, 1889, Vincent van Gogh, Dutch, [Link](https://www.metmuseum.org/art/collection/search/437980)\n***\n\n### VanGogh2\n![VanGogh2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/VanGogh2.png)\n- Self-Portrait with a Straw Hat (obverse: The Potato Peeler), 1887, Vincent van Gogh, Dutch, [Link](https://www.metmuseum.org/art/collection/search/436532)\n***\n\n### VanGogh3\n![VanGogh3](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/VanGogh3%20(Update).png)\n- First Steps, after Millet, 1890, Vincent van Gogh, Dutch, [Link](https://www.metmuseum.org/art/collection/search/436526)\n- Colorblind-Friendly\n***\n\n### Veronese\n![Veronese](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Veronese.png)\n- Mars and Venus United by Love, 1570s, Paolo Veronese, Italian, [Link](https://www.metmuseum.org/art/collection/search/437891)\n- Colorblind-Friendly\n***\n\n### Wissing\n![Wissing](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Wissing.png)\n- Portrait of a Woman, 1687, Willem Wissing, Dutch, [Link](https://www.metmuseum.org/art/collection/search/437945)\n\n\n## Functions\n```r\nYou can retrieve palettes using various methods listed below.\n\nPython\nmet_brew(name=\"VanGogh1\", n=7, brew_type=\"discrete\")\n\nR\nmet.brewer(name=\"VanGogh1\", n=7, type=\"discrete\")\n```\n![Ex1](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/Example%201.png)\n\n```r\nPython\nmet_brew(name=\"Manet\", n=5)\n\nR\nmet.brewer(\"Manet\", 5)\n```\n![Ex2](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/Example%202.png)\n\n\n```r\nPython\nmet_brew(\"Morgenstern\")\n\nR\nmet.brewer(\"Morgenstern\")\n```\n![Ex3](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/Example%203%20(Update).png)\n\n\n```r\nPython\nmet_brew(\"Troy\", n=15, brew_type=\"continuous\")\n\nR\nmet.brewer(\"Troy\", n=15, type=\"continuous\")\n```\n![Ex4](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/Example%204.png)\n\n```r\nPython\nmet_brew(\"Hokusai1\", n=100, brew_type=\"continuous\")\n\nR\nmet.brewer(\"Hokusai1\", n=100)\n```\n![Ex5](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/Example5.png)\n\n### ggplot2 Examples\n\nHere are also some ways you can incorporate this package into {ggplot2}\n\n```r\nggplot(data=iris, aes(x=Species, y=Petal.Length, fill=Species)) +\n  geom_violin() +\n  scale_fill_manual(values=met.brewer(\"Greek\", 3))\n```\n![Ex6](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/FillExample.png)\n\n```r\nggplot(data=iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) +\n  geom_point(size=2) +\n  scale_color_manual(values=met.brewer(\"Renoir\", 3))\n```\n![Ex7](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/ColorExample.png)\n\n```r\nggplot(data=iris, aes(x=Species, y=Sepal.Width, color=Sepal.Width)) +\n  geom_point(size=3) +\n  scale_color_gradientn(colors=met.brewer(\"Isfahan1\"))\n```\n![Ex8](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/GradientColorExample.png)\n\n```r\nlibrary(urbnmapr)\ncountydata %\u003e%\n  left_join(counties, by = \"county_fips\") %\u003e%\n  filter(state_name ==\"Nebraska\") %\u003e%\n  ggplot(mapping=aes(long,lat,group = group, fill = horate)) +\n  geom_polygon(color=\"black\",size=.25) +\n  scale_fill_gradientn(colors = met.brewer(\"Morgenstern\")) +\n  coord_fixed() +\n  labs(fill=\"Homeownership rate\") +\n  theme_void()\n```\n![Ex9](https://github.com/BlakeRMills/MetBrewer/blob/main/PaletteImages/Examples/GradientFillExample%20(Update).png)\n\n\n## Colorblind Friendly Checking\nThe package has been updated to check for colorblind-friendlyness\nYou can list out the colorblind-friendly palettes with the following code\n```r\nPython\nfor palette_name, palette_dict in COLORBLIND_PALETTES.items():\n    print(palette_name)\n    \n[1] Cassatt1, Cassatt2, Derain, Egypt, Greek, Hiroshige, Hokusai2, Hokusai3, Ingres\n[2] Isfahan1, Isfahan2, Morgenstern, OKeeffe1, OKeeffe2, Pillement, Troy, VanGogh3, Veronese\n\nR\nMetBrewer::colorblind_palettes\n\n [1] \"Archambault\" \"Cassatt1\"    \"Cassatt2\"    \"Demuth\"      \"Derain\"      \"Egypt\"       \"Greek\"       \"Hiroshige\"  \n [9] \"Hokusai2\"    \"Hokusai3\"    \"Ingres\"      \"Isfahan1\"    \"Isfahan2\"    \"Java\"        \"Johnson\"     \"Kandinsky\"  \n[17] \"Morgenstern\" \"OKeeffe1\"    \"OKeeffe2\"    \"Pillement\"   \"Tam\"         \"Troy\"        \"VanGogh3\"    \"Veronese\"   \n```\n\nYou can also test is a palettes is colorblind friendly using the function provided\n\n```r\nPython\nis_colorblind_friendly(\"Ingres\")\n[1] True\n\nR\nMetBrewer::colorblind.friendly(\"Ingres\")\n[1] TRUE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakermills%2Fmetbrewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakermills%2Fmetbrewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakermills%2Fmetbrewer/lists"}