틀:명도: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
{{namucat|김찬/제작한 틀}}
{{namucat|김찬/제작한 틀}}
{{틀 도움}}
{{틀 도움
<onlyinclude><div style="width: 100%; margin: .8rem 0; text-align: center;"><span style="padding: 4px; padding-top: 8px; border-radius: 5px; background: #{{{1|ff0000}}}; color: {{글자색계산|#{{{1|ff0000}}}}};">'''{{++5|{{#tag:nowiki|#}}{{대문자:{{{1|ff0000}}}}}}}'''</span></div><!--
|날짜1='''25.04.19'''|업데이트1=모듈을 이용해 단계별 헥스 코드 출력
--><div style="width: 100%; margin: .8rem 0;"><!--
}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">0%</div><!--
<onlyinclude>{|{{style|class=wiki|table=center|border=#{{{1|ff0000}}}|align=center}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">10%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">20%</div><!--
|{{style|colspan=2|bg=#{{{1|ff0000}}}|color={{글자색계산|#{{{1|ff0000}}}}}}}|'''{{++5|{{#tag:nowiki|#}}{{대문자:{{{1|ff0000}}}}}}}'''
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">30%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">40%</div><!--
|{{style|width=50%|bg=header|vertical=top}}|{{펼접|id=brightness-template-darken|title=[ Darken ]}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">50%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">60%</div><!--
|0%
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">70%</div><!--
|{{style|width=2em|bg={{bgbt|#{{{1|ff0000}}}|black|0}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">80%</div><!--
|{{#tag:nowiki|#}}{{대문자:{{{1|ff0000}}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">90%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">100%</div><!--
|10%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; border-radius: 5px 0 0 5px; background: {{bgbt|#{{{1|ff0000}}}|black|0}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|10}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|10}};"></div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|10%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|20}};"></div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|30}};"></div><!--
|20%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|40}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|20}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|50}};"></div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|20%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|60}};"></div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|70}};"></div><!--
|30%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|80}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|30}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|black|90}};"></div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|30%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; border-radius: 0 5px 5px 0; background: {{bgbt|#{{{1|ff0000}}}|black|100}};"></div></div><!--
|-
--><div style="width: 100%; margin: .8rem 0;"><!--
|40%
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">0%</div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|40}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">10%</div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|40%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">20%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">30%</div><!--
|50%
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">40%</div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|50}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">50%</div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|50%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">60%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">70%</div><!--
|60%
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">80%</div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|60}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">90%</div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|60%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; text-align: center;">100%</div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; border-radius: 5px 0 0 5px; background: {{bgbt|#{{{1|ff0000}}}|white|0}};"></div><!--
|70%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|10}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|70}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|20}};"></div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|70%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|30}};"></div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|40}};"></div><!--
|80%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|50}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|80}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|60}};"></div><!--
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|80%}}}}
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|70}};"></div><!--
|-
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|80}};"></div><!--
|90%
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; background: {{bgbt|#{{{1|ff0000}}}|white|90}};"></div><!--
|{{style|bg={{bgbt|#{{{1|ff0000}}}|black|90}}}}|
--><div style="display: inline-block; width: {{#expr:100/11}}%; height: 30px; border-radius: 0 5px 5px 0; background: {{bgbt|#{{{1|ff0000}}}|white|100}};"></div></div></onlyinclude>
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|darken|90%}}}}
|-
|100%
|{{style|bg=#000000}}|
|#000000
{{펼접끝}}
|{{style|width=50%|bg=header|vertical=top}}|{{펼접|id=brightness-template-brighten|title=[ brighten ]}}
|-
|0%
|{{style|width=2em|bg={{bgbt|#{{{1|ff0000}}}|white|0}}}}|
|{{#tag:nowiki|#}}{{대문자:{{{1|ff0000}}}}}
|-
|10%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|10}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|10%}}}}
|-
|20%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|20}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|20%}}}}
|-
|30%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|30}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|30%}}}}
|-
|40%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|40}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|40%}}}}
|-
|50%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|50}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|50%}}}}
|-
|60%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|60}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|60%}}}}
|-
|70%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|70}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|70%}}}}
|-
|80%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|80}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|80%}}}}
|-
|90%
|{{style|bg={{bgbt|#{{{1|ff0000}}}|white|90}}}}|
|{{nowiki|{{#invoke:AdjustBrightness|adjust|#{{{1|ff0000}}}|brighten|90%}}}}
|-
|100%
|{{style|bg=#FFFFFF}}|
|#FFFFFF
{{펼접끝}}
|}</onlyinclude>


<pre>{{명도|<색상>}}</pre>
<pre>{{명도|<색상>}}</pre>


입력한 색상의 명도를 10% 단위로 조절하여 보여줍니다. 안타깝게도 밝고 어두워지는 단계별 색상 코드를 따로 알 수는 없습니다. {{--|진짜 그냥 보여주기만 합니다}}
입력한 색상의 명도를 10% 단위로 조절하여 보여줍니다.


변수에는 헥스코드 6자리의 '''숫자만''' 입력해야 합니다. 나머지는 인식되지 않습니다.
변수에는 헥스코드 6자리의 '''숫자만''' 입력해야 합니다. 나머지는 인식되지 않습니다.


{{김찬 제작 틀}}
{{김찬 제작 틀}}

2025년 4월 19일 (토) 09:36 판

:명도
사용문서
새로고침
넘겨주기
이동하기
[ 주요 업데이트 노트 ]
25.04.19 모듈을 이용해 단계별 헥스 코드 출력

#FF0000
[ Darken ]
0% #FF0000
10% #E50000
20% #CC0000
30% #B20000
40% #990000
50% #7F0000
60% #660000
70% #4C0000
80% #330000
90% #190000
100% #000000
[ brighten ]
0% #FF0000
10% #FF1919
20% #FF3333
30% #FF4C4C
40% #FF6666
50% #FF7F7F
60% #FF9999
70% #FFB2B2
80% #FFCCCC
90% #FFE5E5
100% #FFFFFF
{{명도|<색상>}}

입력한 색상의 명도를 10% 단위로 조절하여 보여줍니다.

변수에는 헥스코드 6자리의 숫자만 입력해야 합니다. 나머지는 인식되지 않습니다.

+
김찬 제작 틀
[ A~Z & etc. ]
[ ㄱ~ㅅ ]
[ ㅇ~ㅎ ]
※ 더 이상 사용하지 않거나 사용할 필요가 없는 경우 취소선 처리
※ 일부 극히 단순한 틀은 본 틀 목록에 미포함