Vertex Painting is a simple way of painting color onto an object, by directly manipulating the color of vertices, rather than textures, and is fairly straightforward. Vertex Painting stores the color information as a Color Attribute which can be used by different render engines.
When a vertex is painted, the color of the vertex is modified according to the settings of the brush. The color of all visible planes and edges attached to the vertex are then modified with a gradient to the color of the other connected vertices. Note that the color of occluded faces is not modified.
Dynamic Paint can create Color Attribute information while using physics or animation.
Viewing Color Attributes
Color Attributes can be used in a material node tree using the Color Attribute Node.
Color Attributes can be viewed in the 3D viewport using the Workbench render engine. To use such feature, set the 3D Viewport to Solid Shading and select the Attribute Color option.