查看“︁Template:Shade/bgcolor”︁的源代码
←
Template:Shade/bgcolor
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<noinclude>{{code|</noinclude>rgb(<includeonly>{{#expr:</includeonly>({{{r}}}*{{{a}}}+{{{r_bg<includeonly>|255</includeonly>}}}*(1-{{{a}}}))<includeonly>}}</includeonly>,<includeonly>{{#expr:</includeonly>({{{g}}}*{{{a}}}+{{{g_bg<includeonly>|255</includeonly>}}}*(1-{{{a}}}))<includeonly>}}</includeonly>,<includeonly>{{#expr:</includeonly>({{{b}}}*{{{a}}}+{{{b_bg<includeonly>|255</includeonly>}}}*(1-{{{a}}}))<includeonly>}}</includeonly>)<noinclude>}}{{documentation|content= Calculates an rgba naively blended over a (by default) white background, i.e. {{block indent|1= <math>C_o = C_a \alpha + 255 (1 - \alpha)</math> }} <pre style="overflow:auto"> {{Shade/bgcolor |r = <!-- red color component: 0-255 --> |g = <!-- green color component: 0-255 --> |b = <!-- blue color component: 0-255 --> |a = <!-- color transparency factor: 0.0-1.0 --> |r_bg = <!-- red background color component: 0-255 (default=255) --> |g_bg = <!-- green background color component: 0-255 (default=255) --> |b_bg = <!-- blue background color component: 0-255 (default=255) --> }} </pre> }}</noinclude>
该页面使用的模板:
Template:Code
(
查看源代码
)
Template:Documentation
(
查看源代码
)
返回
Template:Shade/bgcolor
。
导航菜单
个人工具
登录
命名空间
模板
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息