I think you are missing something, a Channel has no Color value per se, its pixels can have various values.
Getting the name should not be that difficult.
var c1Name = app.activeDocument.channels[i].name
I think you are missing something, a Channel has no Color value per se, its pixels can have various values.
Getting the name should not be that difficult.
var c1Name = app.activeDocument.channels[i].name