wiki standardization authored by Lxlp's avatar Lxlp
[< Back to mechanic page](/Skills/Mechanics#vfx-mechanics)
## Description
Color the VFX, or animate from one color to another.
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|---------------------------------------------------------------|---------|---------|
| color | c, ca, colora | The color in hex | Color | FFFFFF |
| duration | d | Duration of the color change | Integer | 0 |
| colorb | cb | Target color in hex. Only read when `duration` greater than 0 | Color | FFFFFF |
## Examples
#### Gradually change color:
This will apply a VFX that is originally white, and gradually fade into a deep red in 3 seconds.
```yaml
Skills:
- skill{s=[
- vfx{mid=weapon_vfx;pid=fire_bolt}
- vfxtint{ca=FFFFFF;cb=FF0000;duration=60}
]} @self ~onSpawn
```
## Aliases
- [x] VFXColor
\ No newline at end of file