# One cell multiple colors?

**URL:** https://discourse.vtk.org/t/one-cell-multiple-colors/12184
**Category:** vtk.js
**Created:** [August 23, 2023, 7:14am UTC](https://discourse.vtk.org/t/one-cell-multiple-colors/12184 "2023-08-23T07:14:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![davsch](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davsch](https://discourse.vtk.org/u/davsch)
#### Post date: [August 23, 2023, 7:14am UTC](https://discourse.vtk.org/t/one-cell-multiple-colors/12184/1 "2023-08-23T07:14:24Z")

</div>

Hey there,  
I wanted to ask if there is a way to have two (or more) colors for one cell with scalar coloring in vtk.js? I don’t want to use USE\_POINT\_DATA as scalar mode since a point should handle multiple colors like this:  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/f/f454e2f27f424f38f42853360e88809ad726a9fb.png)
