# How to display color names after drag and drop?

**URL:** https://forum.kirupa.com/t/how-to-display-color-names-after-drag-and-drop/279862
**Category:** flash
**Created:** [January 20, 2009, 2:28am UTC](https://forum.kirupa.com/t/how-to-display-color-names-after-drag-and-drop/279862 "2009-01-20T02:28:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hotdog](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@hotdog](https://forum.kirupa.com/u/hotdog)
#### Post date: [January 20, 2009, 2:28am UTC](https://forum.kirupa.com/t/how-to-display-color-names-after-drag-and-drop/279862/1 "2009-01-20T02:28:23Z")

</div>

In my webpage I’ve created a colour palette with a drag and drop action. It works fine! But my problem is when a colour is draged in to a certain area, How can I make the name of the colour display in a text box?

There are 60 colors in my palette and 5 areas where the user could drop different colors to. I want to have 5 text boxes for each selected color name to be displayed. Could anyone help me.
