Description Usage Arguments Value Author(s) Examples
create color palette for continuous data
1 |
colors |
colors of length >=2 |
color vector
guangchuang yu
1 | color_palette(c("red", "yellow", "green"))
|
[1] "#FF0000" "#FF0100" "#FF0300" "#FF0500" "#FF0600" "#FF0800" "#FF0A00"
[8] "#FF0B00" "#FF0D00" "#FF0F00" "#FF1100" "#FF1200" "#FF1400" "#FF1600"
[15] "#FF1700" "#FF1900" "#FF1B00" "#FF1D00" "#FF1E00" "#FF2000" "#FF2200"
[22] "#FF2300" "#FF2500" "#FF2700" "#FF2900" "#FF2A00" "#FF2C00" "#FF2E00"
[29] "#FF2F00" "#FF3100" "#FF3300" "#FF3500" "#FF3600" "#FF3800" "#FF3A00"
[36] "#FF3B00" "#FF3D00" "#FF3F00" "#FF4100" "#FF4200" "#FF4400" "#FF4600"
[43] "#FF4700" "#FF4900" "#FF4B00" "#FF4D00" "#FF4E00" "#FF5000" "#FF5200"
[50] "#FF5300" "#FF5500" "#FF5700" "#FF5800" "#FF5A00" "#FF5C00" "#FF5E00"
[57] "#FF5F00" "#FF6100" "#FF6300" "#FF6400" "#FF6600" "#FF6800" "#FF6A00"
[64] "#FF6B00" "#FF6D00" "#FF6F00" "#FF7000" "#FF7200" "#FF7400" "#FF7600"
[71] "#FF7700" "#FF7900" "#FF7B00" "#FF7C00" "#FF7E00" "#FF8000" "#FF8200"
[78] "#FF8300" "#FF8500" "#FF8700" "#FF8800" "#FF8A00" "#FF8C00" "#FF8E00"
[85] "#FF8F00" "#FF9100" "#FF9300" "#FF9400" "#FF9600" "#FF9800" "#FF9A00"
[92] "#FF9B00" "#FF9D00" "#FF9F00" "#FFA000" "#FFA200" "#FFA400" "#FFA600"
[99] "#FFA700" "#FFA900" "#FFAB00" "#FFAC00" "#FFAE00" "#FFB000" "#FFB100"
[106] "#FFB300" "#FFB500" "#FFB700" "#FFB800" "#FFBA00" "#FFBC00" "#FFBD00"
[113] "#FFBF00" "#FFC100" "#FFC300" "#FFC400" "#FFC600" "#FFC800" "#FFC900"
[120] "#FFCB00" "#FFCD00" "#FFCF00" "#FFD000" "#FFD200" "#FFD400" "#FFD500"
[127] "#FFD700" "#FFD900" "#FFDB00" "#FFDC00" "#FFDE00" "#FFE000" "#FFE100"
[134] "#FFE300" "#FFE500" "#FFE700" "#FFE800" "#FFEA00" "#FFEC00" "#FFED00"
[141] "#FFEF00" "#FFF100" "#FFF300" "#FFF400" "#FFF600" "#FFF800" "#FFF900"
[148] "#FFFB00" "#FFFD00" "#FFFF00" "#FDFF00" "#FBFF00" "#F9FF00" "#F8FF00"
[155] "#F6FF00" "#F4FF00" "#F3FF00" "#F1FF00" "#EFFF00" "#EDFF00" "#ECFF00"
[162] "#EAFF00" "#E8FF00" "#E7FF00" "#E5FF00" "#E3FF00" "#E1FF00" "#E0FF00"
[169] "#DEFF00" "#DCFF00" "#DBFF00" "#D9FF00" "#D7FF00" "#D5FF00" "#D4FF00"
[176] "#D2FF00" "#D0FF00" "#CFFF00" "#CDFF00" "#CBFF00" "#C9FF00" "#C8FF00"
[183] "#C6FF00" "#C4FF00" "#C3FF00" "#C1FF00" "#BFFF00" "#BDFF00" "#BCFF00"
[190] "#BAFF00" "#B8FF00" "#B7FF00" "#B5FF00" "#B3FF00" "#B1FF00" "#B0FF00"
[197] "#AEFF00" "#ACFF00" "#ABFF00" "#A9FF00" "#A7FF00" "#A6FF00" "#A4FF00"
[204] "#A2FF00" "#A0FF00" "#9FFF00" "#9DFF00" "#9BFF00" "#9AFF00" "#98FF00"
[211] "#96FF00" "#94FF00" "#93FF00" "#91FF00" "#8FFF00" "#8EFF00" "#8CFF00"
[218] "#8AFF00" "#88FF00" "#87FF00" "#85FF00" "#83FF00" "#82FF00" "#80FF00"
[225] "#7EFF00" "#7CFF00" "#7BFF00" "#79FF00" "#77FF00" "#76FF00" "#74FF00"
[232] "#72FF00" "#70FF00" "#6FFF00" "#6DFF00" "#6BFF00" "#6AFF00" "#68FF00"
[239] "#66FF00" "#64FF00" "#63FF00" "#61FF00" "#5FFF00" "#5EFF00" "#5CFF00"
[246] "#5AFF00" "#58FF00" "#57FF00" "#55FF00" "#53FF00" "#52FF00" "#50FF00"
[253] "#4EFF00" "#4DFF00" "#4BFF00" "#49FF00" "#47FF00" "#46FF00" "#44FF00"
[260] "#42FF00" "#41FF00" "#3FFF00" "#3DFF00" "#3BFF00" "#3AFF00" "#38FF00"
[267] "#36FF00" "#35FF00" "#33FF00" "#31FF00" "#2FFF00" "#2EFF00" "#2CFF00"
[274] "#2AFF00" "#29FF00" "#27FF00" "#25FF00" "#23FF00" "#22FF00" "#20FF00"
[281] "#1EFF00" "#1DFF00" "#1BFF00" "#19FF00" "#17FF00" "#16FF00" "#14FF00"
[288] "#12FF00" "#11FF00" "#0FFF00" "#0DFF00" "#0BFF00" "#0AFF00" "#08FF00"
[295] "#06FF00" "#05FF00" "#03FF00" "#01FF00" "#00FF00"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.