An
<input type="checkbox">
ignores the
color
CSS property. If you want to change the check colour, you would need to use
the new accent-color
property[
^] instead.
$("input[name=ideogram]:checked").css('accent-color', 'green');
$("input[name=pinnin]:checked").css('accent-color', 'green');