Having trouble getting help?
Contact Support
Contact Support
Show Recent color in Color Picker Control
18 Sep 20241 minute to read
The ShowRecentColors property enables the display of recently selected colors in the ColorPicker when in palette mode. This feature helps users quickly access their most frequently used colors.
Note: The
ShowRecentColors
feature displays up to 10 recent colors as tiles and is available only inpalette
mode.
In the following sample, the ShowRecentColors
property is enabled to display recent colors in the palette
area.
<div class='wrap'>
<h4>Choose Color</h4>
<ejs-colorpicker id="element" ShowRecentColors="true"></ejs-colorpicker>
</div>
<style>
.wrap {
margin: 0 auto;
width: 300px;
text-align: center;
}
</style>
NOTE