ちょい絶 5にて発表してきたので、一ヶ月ぶりのエントリーをば。 CMYKといえば普通印刷などで使われる色空間ですが、今回はそれをFlash上で再現してみる。という内容の発表をしました。 問題はRGB -> CMYK変換のアルゴリズムですが、幸いなことに詳しい理論知らなくても色の変換式がまとめられているのでそれを利用させていただきました。(参考サイト) asの構成としては RGB, CMYK クラス、変換を担当するColorConverterクラスというようになっています。 package { public class RGBColor { public var red:uint; public var green:uint; public var blue:uint; public function RGBColor(rr:uint = 0, gg:uint = 0, bb:uint =