# Fill color for paint application

**URL:** <https://forum.kirupa.com/t/fill-color-for-paint-application/283806>\
**Category:** flash\
**Created:** [March 11, 2009, 11:21am UTC](https://forum.kirupa.com/t/fill-color-for-paint-application/283806 "2009-03-11T11:21:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaji](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shaji](https://forum.kirupa.com/u/shaji)\
**Post date:** [March 11, 2009, 11:21am UTC](https://forum.kirupa.com/t/fill-color-for-paint-application/283806/1 "2009-03-11T11:21:59Z")

</div>

Hi, I am working on paint application and need help with filling colors. Users can draw any shape on the canvas, in this case how do I enable fill color. I am able to change the color if the shape doesn’t have a outline. How do I change the color of the shape with outline (outline color shouldn’t be changed)? Any help to find a solution would be appreciated. Any algorithm (simple) that can be used should be of good help. Thanks in advance
