Optional
colorDecoy text color (CSS color string, default: '#646566')
Optional
fontFont family for decoy characters (default: 'Sans')
Optional
sizeFont size for decoy characters in pixels (default: 20)
Optional
opacityDecoy text opacity from 0 to 1 (default: 0.8)
Configuration options for decoy characters scattered across the captcha background.
Decoy characters are random characters placed throughout the captcha image to confuse OCR systems and automated solvers. They appear as background noise and significantly improve security by making it harder to identify the actual text. The number of decoy characters is automatically calculated based on canvas size.
Example: Basic Decoy Configuration
Example: High Security Decoys