代码搜索结果
找到约 5,749 项符合
RGB 的代码
hslutils.pas
//------------------------------------------------------------------------------
//
// HSL - RGB colour model conversions
//
// These four functions can be used to convert between the RGB and HSL
main.css
.title { font-weight:bold; font-size:25px; color:rgb(153,0,0); }
.title2 { font-weight:bold; font-size:16px; color:rgb(153,0,0); }
.text { font-size:16px; }
.text_bg { font-size:16px; background-co
23.txt
将真彩色图像变为256色灰度(BIG5码):
将RGB想成3D之X,Y,Z轴,则BMP的RGB为(r,g,b)与座标(Y,Y,Y)距离最小时的Y即为灰阶值
Y = 0.29900 * R + 0.58700 * G + 0.11400 * B
整数化
Y = ( 9798*R + 19235*G + 3735*B) / 32768
RGB(Y, Y, Y)就可以了
需一个内
17.txt
分解颜色为RGB
To break an RGB color value into its components, use:
red = color Mod 256
green = (color \ 256) Mod 256
blue = color \ 256 \ 256
There are some system colors that have fu
6762.html
如何将RGB转成CYMK
如何将RGB转成CYMK
ex2501.m
%例25-1 RGB真彩真彩着色
%Ex25-1 RGB coloring
clear
close all
[x,y]=meshgrid(-1:0.2:1);
z=x.^2+cos(y*pi);
[m,n]=size(z);
c=rand(m,n,3);
surf(x,y,z,c)
title('RGB coloring of surf')
17252.html
Re: Given a RGB color value (e.g 255), how to get its red,green and blue values?(no text)
rgb2graykpm.m
function g = rgb2grayKPM(rgb)
% function g = rgb2grayKPM(rgb)
% rgb2grayKPM Like the built-in function, but if r is already gray, does not cause an error
[nr nc ncolors] = size(rgb);
if ncolors
6806.html
Re: 如何将RGB转成CYMK
Re: 如何将RGB转成CYMK
vb中的颜色值和html中的颜色如何实现互相转换.txt
VB和 HTML都 使 用 的 是 RGB格 式 , 所 以 转 换 比 较 容 易 。 象 VB的 &H000000FF&就 是 HTML的 #0000FF。 但 是 VB中 的 系 统 定 义 的 颜 色 常 数 : &H80??????不 是 采 用 RGB表 示 的 , 需 要 使 用 API函 数 OleTranslateColor函 数 转 换 为 RGB格 式 。