Skip to content

cf_overlay_color

Category: graphics
GitHub: cute_color.h


Returns an overlay'd color, where the colors are multiplied or screen'd depending on the base color.

CF_Color cf_overlay_color(CF_Color base, CF_Color blend)
Parameters Description
base The original color.
blend The blend color to apply an overlay effect with.

Remarks

This function attempts to mimic the Overlay Photoshop blend-layer mode. The blend color is used to adjust colors in the base, while still preserving shadows and highlights of the base.

CF_Color
cf_hue
cf_softlight
cf_softlight_color
cf_overlay