BeerSRM Color Palette
Description
Examples
The BeerSRM color palette is a sequential colormap based on the a Standard Reference Method used to measure the color of beer.
with⁡ColorTools:
The palette contains 40 colors named with beer styles whose range of SRM color will often contain that color.
DisplayPalette⁡BeerSRM,columns=10
1. Pale Lager
2. Pilsner
3. Blonde Ale
4. Maibock
5. Weissbier
6. Pale Ale
7. IPA
8. Saison
9. Bitter
10. ESB
11. Biere de Garde
12. Scotch Light
13. Double IPA
14. Scotch Heavy
15. Amber Ale
16. Marzen
17. Dark Lager
18. Vienna Lager
19. Bock
20. Brown Ale
21. Dunkel
22. Dunkelweizen
23. Weizenbock
24. Porter
25. Doppelbock
26. Irish Dry Stout
27. Oatmeal Stout
28. Eisbock
29. Schwarzbeir
30. Stout
31. Milk Stout
32. Black IPA
33. Extra Stout
34. Tropical Stout
35. Baltic Porter
36. Sweet Stout
37. American Stout
38. Oyster Stout
39. Coffee Stout
40. Imperial Stout
You can reference colors in the palette by name or number in most commands that understand color names.
plot⁡x,x3,x=−1..1,color=BeerSRM 10,BeerSRM Baltic Porter
C≔Color⁡BeerSRM 21
C≔〈RGB : 0.576 0.188 0.00392〉
You can programmatically access the colors using ColorTools commands
P≔GetPalette⁡BeerSRM:
P1
〈RGB : Pale Lager〉
Swatches⁡P,rows=5
BeerSRM is best used to construct as a sequential gradients from light to dark and from pale yellow to dark brown
ColorTools:-Swatches⁡P,rows=1,gap=0,borders=,scaling=unconstrained,size=600,100
The Blend command can be used to create a function to color arbitrary ranges. It can take the name of a palette to generate a colormap.
ColorMap≔ColorTools:-Blend⁡BeerSRM:
ColorMap⁡0.35
〈RGB : 0.73 0.343 0.00699〉
And is particularly good when used to color surfaces. The colorscheme option of plots can take the names of palettes to generate gradients.
plot3d⁡sin⁡x⁢cos⁡y,x=−32⁢π..32⁢π,y=−32⁢π..32⁢π,colorscheme=BeerSRM
See Also
ColorTools[DisplayPalette]
ColorTools[Palette]
plots[setcolors]
Download Help Document