[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-563935-105":53,"doc-detail-563935-en":118},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":111,"head_meta":113,"extra_data":115,"updated_unix":117},105,"en","palettetown-use-pokemon-inspired-colour-palettes-with-ggplot2-scales","palettetown - Use Pokemon inspired colour palettes with ggplot2 scales","","R package palettetown provides Pokemon-inspired colour palettes derived from sprite colours and ordered by how common each colour is in the image. Functions generate clustered, relatively distinct palettes by specifying spread, using ward clustering in HSV space and selecting the most common colour in each cluster. It includes helpers to choose palettes by Pokemon name or number, display multiple palettes via a pokedex view, and add palettes directly to ggplot2 colour or fill scales. An optional colourblind-friendly selection is supported via a cb parameter.",{"@graph":63,"@context":110},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/palettetown-use-pokemon-inspired-colour-palettes-with-ggplot2-scales/563935/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/palettetown-use-pokemon-inspired-colour-palettes-with-ggplot2-scales/563935.png","ImageObject",442,249,{"name":88,"@type":89},"Olivia Brown","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-12",true,{"@type":98,"interactionType":99,"userInteractionCount":9},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104],{"name":105,"@type":106,"acceptedAnswer":107},"Can I generate colourblind-friendly palettes?","Question",{"text":108,"@type":109},"Yes. In pokedex, the cb argument selects ten of the available 40 colourblind-friendly (Deutera anomaly) palettes, and spread still controls clustering.","Answer","https://schema.org",{"og:url":78,"og:type":112,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":114,"canonical":78},"index,follow",{"doc_id":116,"site_id":56},563935,1792647345,{"code":4,"msg":5,"data":119},{"doc_id":116,"user_id":120,"nickname":88,"user_avatar":121,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":122,"file_id":123,"file_url":124,"file_type":125,"file_size":126,"view_count":9,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":127,"language":128,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":129,"faqs":130,"seo_title":131,"seo_description":61,"update_tm":132,"read_time":73},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Package ‘palettetown’  \nMay 9, 2026  \nType Package  \nTitle Use Pokemon Inspired Colour Palettes Version 0.1.1  \nDate 2016-04-06  \nAuthor Tim Lucas  \nMaintainer Tim Lucas \u003C[timcdlucas@gmail.com](timcdlucas@gmail.com)>  \nDescription Use Pokemon(R) inspired palettes with additional 'ggplot2' scales.  \nPalettes are the colours in each Pokemon's sprite, ordered by how common  \nthey are in the image. The first 386 Pokemon are currently provided.  \nSuggests ggplot2, magrittr  \nImports grDevices, stats, graphics  \nLicense MIT + file LICENSE  \nCopyright Pokemon, pokedex and all pokemon names are trademarks of  \nNintendo.  \nURL [https://github.com/timcdlucas/palettetown](https://github.com/timcdlucas/palettetown)  \nRoxygenNote 5.0.1 NeedsCompilation no Repository CRAN  \nDate/Publication 2016-04-07 01:01:15  \nContents  \nichooseyou ......................................... 2  \npalettetown ......................................... 2  \npokedex ........................................... 3  \npokepal ........................................... 3  \nscale_colour_poke ..................................... 4  \nIndex 6  \n2 palettetown  \n\n| ichooseyou | Get a pokemon palette. Alias for pokepal. |\n| --- | --- |\n\nDescription  \nGet a pokemon palette by either giving a pokemon number or name. The recomended syntax for this function is ’Magikarp’%>% ichooseyou using the pipe operator %>% from the magrittr package. To specify the spread parameter use ’Snorlax’%>% ichooseyou(5)  \nUsage  \nichooseyou(pokemon = 1, spread = NULL)  \nArguments  \npokemon An integer or character pokemon name  \nspread How many, quite distinct, colours should be returned. See details.  \nDetails  \nIf spread is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space) . The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the pokemons colouring while giving relatively distinct colours.  \nSee Also  \npokepal  \nExamples  \nlibrary(magrittr)  \npal \u003C - ' Hoothoot ' %>% ichooseyou  \npal2 \u003C - ' Pichu ' %>% ichooseyou(6)  \n\n| palettetown | Pokemon inspired colour palettes. |\n| --- | --- |\n\nDescription  \nPokemon inspired colour palettes.  \nAuthor(s)  \nTim CD Lucas  \npokedex 3  \n\n| pokedex | Display pokemon palettes. |\n| --- | --- |\n\nDescription  \nDisplay 10 pokemon palettes starting from a name or number. If no name or number is given, 10 of the better palettes are displayed. Pokedex is a Trademark of Nintendo.  \nUsage  \npokedex(pokemon = NULL, spread = NULL, cb = NULL)  \nArguments  \npokemon An integer or character pokemon name  \nspread How many, quite distinct, colours should be returned. See details.  \ncb A number between 1 and 4 to select ten of 40 colourblind friendly (Deutera  \nnomaly) palettes. pokemon is ignored if used, but spread works as normal.  \nDetails  \nIf spread is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space) . The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the pokemons colouring while giving relatively distinct colours.  \nThanks to Luis Verde for the colourblind suitable selection.  \nExamples  \npokedex()  \npokedex( ' Metapod ' )  \npokedex(5, spread = 2)  \npokedex(cb = 3)  \npokedex(cb = 2, spread = 6)  \n\n| pokepal | Get a pokemon palette. |\n| --- | --- |\n\nDescription  \nGet a pokemon (R) palette by either giving a pokemon number or name.  \nUsage  \npokepal(pokemon = 1, spread = NULL)  \n4 scale_colour_poke  \nArguments  \npokemon An integer or character pokemon name  \nspread How many, quite distinct, colours should be returned. See details.  \nDetails  \nIf spread is given an integer, the full palette is clustered into that many groups (ward clustering in HSV space, using only hue and downweighted saturation) . The most common colour in each cluster is then returned. It is hoped this will give a good balance between reflecting the pokemons colouring while","cbCainCAw7KQ2w6S","https://ap.wps.com/l/cbCainCAw7KQ2w6S","pdf",82998,6,"English","# ichooseyou\n## Usage\n# palettetown\n# pokedex\n## Usage\n# pokepal\n# scale_colour_poke\n## Usage","[{\"question\":\"Can I generate colourblind-friendly palettes?\",\"answer\":\"Yes. In pokedex, the cb argument selects ten of the available 40 colourblind-friendly (Deutera anomaly) palettes, and spread still controls clustering.\"}]","palettetown - Use Pokemon inspired colour palettes with ggplot2 scales | PDF",1791839411]