Skip to content

Instantly share code, notes, and snippets.

@penguin2716
Created March 19, 2013 09:08
Show Gist options
  • Save penguin2716/5194667 to your computer and use it in GitHub Desktop.
Save penguin2716/5194667 to your computer and use it in GitHub Desktop.
JINS PCに対応するためのmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :jins_pc do
filter_message_background_color do | mp, color |
# 青成分を50%カット
[mp, [color[0],color[1],(color[2] * 0.5).to_i]]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment