# Dynamo color not working

**URL:** <https://forum.dynamobim.com/t/dynamo-color-not-working/9083>\
**Category:** FAQ\
**Created:** [January 23, 2017, 8:00pm UTC](https://forum.dynamobim.com/t/dynamo-color-not-working/9083 "2017-01-23T20:00:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mix](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mix](https://forum.dynamobim.com/u/mix)\
**Post date:** [January 23, 2017, 8:00pm UTC](https://forum.dynamobim.com/t/dynamo-color-not-working/9083/1 "2017-01-23T20:00:41Z")

</div>

hello,  
Ive tried to recreate this coloring schemes from the dynamo library,  
[http://dictionary.dynamobim.com/#/Core/Color/Create/Multiply](http://dictionary.dynamobim.com/#/Core/Color/Create/Multiply)  
but nothing is working. Ive tried connecting all of these different colors to this cube but none of them color it. Why not? Thanks!

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/8/f83e2a203bc3298009adfb379bae71cae6829600.png)

---

<div class="post-metadata">

**Author:** ![jostein\_olsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jostein_olsen/32/8570_2.png) [@jostein\_olsen](https://forum.dynamobim.com/u/jostein_olsen)\
**Post date:** [January 23, 2017, 8:34pm UTC](https://forum.dynamobim.com/t/dynamo-color-not-working/9083/2 "2017-01-23T20:34:26Z")

</div>

Have you tried turning of the preview of the Cuboid node itself?

---

<div class="post-metadata">

**Author:** ![mix](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mix](https://forum.dynamobim.com/u/mix)\
**Post date:** [January 23, 2017, 8:42pm UTC](https://forum.dynamobim.com/t/dynamo-color-not-working/9083/3 "2017-01-23T20:42:38Z")

</div>

Oh wow, that actually shows the color, but I mean…why cant I color the cube itself?

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner/32/237_2.png) [@Michael\_Kirschner](https://forum.dynamobim.com/u/Michael_Kirschner)\
**Post date:** [January 24, 2017, 5:17am UTC](https://forum.dynamobim.com/t/dynamo-color-not-working/9083/4 "2017-01-24T05:17:38Z")

</div>

every node (well all the built in ones) return new objects as their output. So when you generate a cube and then create a display object after it - you are generating two cubes (I’m not actually sure if this is true for display node - it might be a reference… but it doesn’t matter) you still get two cubes tessellated and displayed in the background preview. So you have to turn off the preview of the first cube to reliably see the second because of z-fighting.

My point is that Dynamo likes nodes to be immutable functions - procedures that generate some output and don’t modify other objects.

> **[Z-fighting](https://en.wikipedia.org/wiki/Z-fighting)**
>
> Z-fighting, also called stitching, is a phenomenon in 3D rendering that occurs when two or more primitives have similar or identical values in the z-buffer. It is particularly prevalent with coplanar polygons, where two faces occupy essentially the same space, with neither in front. Affected pixels are rendered with fragments from one polygon or the other arbitrarily, in a manner determined by the precision of the z-buffer. It can also vary as the scene or camera is changed, causing one polygon t...
