# Color Picker element into webpage

**URL:** <https://forum.kirupa.com/t/color-picker-element-into-webpage/295043>\
**Category:** web dev\
**Created:** [August 24, 2009, 6:04pm UTC](https://forum.kirupa.com/t/color-picker-element-into-webpage/295043 "2009-08-24T18:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parantox](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@parantox](https://forum.kirupa.com/u/parantox)\
**Post date:** [August 24, 2009, 6:04pm UTC](https://forum.kirupa.com/t/color-picker-element-into-webpage/295043/1 "2009-08-24T18:04:01Z")

</div>

Hello everybody,

I have a page in which I would like to insert a list box that when clicked will display the color palette, so that the user will be able to select a color for a font.

I know there are controls such as the Color Picker from the [YUI Library](http://developer.yahoo.com/yui/) that I could use, but I’m wondering if there’s a way to construct it on my own.

Does anyone happen to know how to fill the contents of a list box with the colors of the palette?

Thank you in advance.
