def get_colored_particle_surf(icon_ordinal, height, color):
    """Return surface representing colored character.

    Works just like a partial implementation of the
    render_layered_icon() function.

    Parameters
    ==========
    icon_ordinal (integer)
        integers representing character used as particle
        to be drawn.
    height (positive integer)
        height of surface in pixels.
    color (sequence of integers)
        represents the color of the particle in the
        surface; integers represent values of RGB channels
        respectively and are all in range(256).
    """
    return render_layered_icon(
        chars=[chr(icon_ordinal)],
        dimension_name="height",
        dimension_value=height,
        colors=[color],
    )
Return surface representing colored character.

    Works just like a partial implementation of the
    render_layered_icon() function.

    Parameters
    ==========
    icon_ordinal (integer)
        integers representing character used as particle
        to be drawn.
    height (positive integer)
        height of surface in pixels.
    color (sequence of integers)
        represents the color of the particle in the
        surface; integers represent values of RGB channels
        respectively and are all in range(256).
    
nodezator/colorsman/viewer/modes/patterns/particles.py