```{index} single: Filters; Generate Vector Colors
```
# Compute Vector Colors

## Group (Subgroup)

Generic (Coloring)

## Description

This **Filter** generates a color for each **Element** based on the vector assigned to that **Element** in the input vector data.  The color scheme assigns a unique color to all points on the unit hemisphere using a HSV-like scheme. The color space is approximately represented by the following legend.

![Images/VectorColors](Images/VectorColors.png)


### Optional Data Mask

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Apply to Good Voxels Only (Bad Voxels Will Be Black) | Bool |  | Whether or not to assign colors to bad voxels or leave them black |
| Mask Array | Array Selection | Allowed Types: uint8, boolean Comp. Shape: 1 | Used to define Elements as good or bad  |

### Input Data Objects

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Vector Attribute Array | Array Selection | Allowed Types: float32 Comp. Shape: 3 | Vectors the colors will represent |

### Output Element Data Object

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Vector Colors | DataObjectName |  | RGB colors |

## Example Pipelines

## License & Copyright

Please see the description file distributed with this **Plugin**

## DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.
