color

カラー設定

color p1,p2,p3

p1,p2,p3=0~255(0) : 色コード(R,G,Bの輝度)

解説

メッセージ表示、描画などの色を指定した値に設定します。
p1,p2,p3がそれぞれ、R,G,Bの輝度になります。

0が最も暗く、255が最も明るくなります。
color 0,0,0 は黒に、color 255,255,255 は白になります。
パレットモードの画面では、指定した色に一番近いパレットが選択されます。

関連項目

palcolor描画パレット設定
hsvcolorHSV形式でカラーを設定する

サンプル逆引き (210)

(HSP3) sample3 [VideoMixing].hsp
aplkey3.hsp
arduino_test4.hsp
arduino_test5.hsp
arraynote.hsp
arusave.hsp
atan_grect.hsp
battle.hsp
block1.hsp
block2.hsp
block3.hsp
block3.hsp
block3.hsp
block3_ad.hsp
bmpsave.hsp
buffer.hsp
button_test.hsp
calcsheet.hsp
celput.hsp
celputm.hsp
clock2.hsp
cnvaxis.hsp
cnvaxis.hsp
cnvsrc.hsp
cvmatch.hsp
d3m_techdemo.hsp
defcfunc.hsp
demo.hsp
dirinfo.hsp
dirlist.hsp
dish_sortval.hsp
doukutu.hsp
drop.hsp
drop_dish.hsp
ease_test1.hsp
ease_test1.hsp
ease_test2.hsp
ease_test2.hsp
ease_test3.hsp
elm2d_edit.hsp
emath.hsp
emes.hsp
emit_sample1.hsp
emit_sample3.hsp
facedetect.hsp
facemove1.hsp
facemove2.hsp
feedback.hsp
folder.hsp
fonts.hsp
fullscr.hsp
gblur.hsp
gradf.hsp
gradf.hsp
grect.hsp
groll.hsp
grotate.hsp
grotate.hsp
gsquare.hsp
gsquare.hsp
gstyle.hsp
hidmon_test2.hsp
hsplogo.hsp
hsptv_test.hsp
hsptv_test3.hsp
htcopy1.hsp
htcopy2.hsp
http_test1.hsp
http_test2.hsp
itunes_mon.hsp
joystick1.hsp
joystick2.hsp
joystick3.hsp
keymove1.hsp
keymove2.hsp
keymove3.hsp
keymove4.hsp
kick.hsp
line.hsp
macro.hsp
mapedit.hsp
mapmove1.hsp
mapmove2.hsp
meshmap.hsp
meshmap2.hsp
meshmap3.hsp
meshmap4.hsp
meshmap5.hsp
meshmap6.hsp
meshmap7.hsp
mesinfo.hsp
mkexe.hsp
mkfont.hsp
mkpack.hsp
mouse.hsp
mouse2.hsp
mtouch.hsp
obaqhg1.hsp
obaqhg2.hsp
obaqhg3.hsp
obaqme.hsp
obaqtest.hsp
objfade.hsp
objimage.hsp
objsort.hsp
omedetai.hsp
particle.hsp
poker.hsp
posteffect.hsp
pronama1.hsp
pronama2.hsp
pronama3.hsp
rndf.hsp
sample01.hsp
sample02.hsp
sample03.hsp
sample07.hsp
sample08.hsp
sample16.hsp
sample24_DVDPlayer.hsp
sample_01_basic_bbs.hsp
sample_02_basic.hsp
sample_02_memolite.hsp
sample_03_basic.hsp
sample_03_vram_blob.hsp
sample_04_d3lineto.hsp
sample_05_particle_basic.hsp
sample_06_snow_night.hsp
sample_07_snow_white.hsp
sample_08_ball.hsp
sample_08_Copy.hsp
sample_09_imagetest.hsp
sample_09_toge.hsp
sample_10_d3square.hsp
sample_11_d3texture.hsp
sample_12_anitexture.hsp
sample_13_d3texture_div.hsp
sample_14_d3ribbonto.hsp
sample_15_d3wincx.hsp
sample_16_d3setlocal.hsp
sample_17_d3setlocal_shadow.hsp
sample_18_poly_particle.hsp
sample_19_getmouse.hsp
sampview.hsp
sendmail.hsp
settex.hsp
shoot.hsp
star.hsp
starmove.hsp
stars.hsp
stick.hsp
switch.hsp
tamacard_dish.hsp
tamadot.hsp
tamadot_dish.hsp
tamane1.hsp
tamane2.hsp
tamane2.hsp
tamane3.hsp
tamane4.hsp
tamane_jump.hsp
tamane_s.hsp
tamane_s2.hsp
tamane_s2_dish.hsp
tamane_s_dish.hsp
test1.hsp
test1.hsp
test1.hsp
test10.hsp
test10.hsp
test11.hsp
test12.hsp
test12.hsp
test13.hsp
test13.hsp
test2.hsp
test2.hsp
test3.hsp
test3.hsp
test4.hsp
test4.hsp
test4.hsp
test5.hsp
test5.hsp
test6.hsp
test6.hsp
test7.hsp
test7.hsp
test7.hsp
test8.hsp
test8.hsp
test8.hsp
test9.hsp
test9.hsp
tile.hsp
tof2.hsp
typing.hsp
volsamp.hsp
vtest1.hsp
vtest2.hsp
wave.hsp
xsample_alphapaint.hsp
xsample_alphastg.hsp
xsample_Astro.hsp
xsample_gcube.hsp
xsample_gcube.hsp
xsample_gimbal.hsp
xsample_Rocket.hsp
xsample_shiraho.hsp
yopparai.hsp

情報

バージョン3.5
作成日2017/09/08
著作者onitama
URLhttp://hsp.tv/
備考ver3.5標準命令
タイプ内蔵命令
グループ画面制御命令
対応環境
  • Windows 版 HSP
  • HSPLet
hs ファイルhsphelp\i_graph.hs