# Generate color for pie Graph Fake 3D

**URL:** <https://forum.kirupa.com/t/generate-color-for-pie-graph-fake-3d/162117>\
**Category:** flash\
**Created:** [September 9, 2005, 7:54pm UTC](https://forum.kirupa.com/t/generate-color-for-pie-graph-fake-3d/162117 "2005-09-09T19:54:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turb](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@turb](https://forum.kirupa.com/u/turb)\
**Post date:** [September 9, 2005, 7:54pm UTC](https://forum.kirupa.com/t/generate-color-for-pie-graph-fake-3d/162117/1 "2005-09-09T19:54:02Z")

</div>

Hi, i’m drawing a pie graph, add fake height and scale to create a fake 3D pie graph … all work very well but i need to dynamically generate color for height base on every slice color, to have a darker color …

Did someone can help me to start with that?

turb
