Emit particles based on luminance

Hey all,

Do you guys know if you can emit paricles based on luminance? I created a paint srtoke and animated the write on start and end so the stroke was a dot moving along the paint curve. Can I emit particles based on the luminance of the stroke?