پرش به محتوای اصلی

HEX، RGB، HSL و CMYK

پاسخ سریع

Color Code Converter: HEX, RGB, HSL and CMYK. Color Code Converter uses standard developer formulas to compute accurate results instantly.

HEX#3b82f6
RGB59, 130, 246
HSL217°, 91%, 60%
نزدیک‌ترین Tailwindblue-500

مراحل تبدیل

  1. 1HEX #3b82f6 → RGB(59, 130, 246)
  2. 2HSL = (217.2°, 91.2%, 59.8%) — hue 217° places it in blue territory
  3. 3Nearest Tailwind palette color: blue-500 (ΔE² 0)
  4. 4گرادیان پایین با ترکیب سیاه و سفید تولید می‌شود — برای پالت رنگی سطح تولید، توصیه می‌شود از ابزار فضای رنگی OKLCH برای به دست آوردن گرادیان یکنواخت درک استفاده کنید.

قطعه کد CSS

--color-primary: #3b82f6;
--color-primary-rgb: 59 130 246;
color: #3b82f6;
color: rgb(59 130 246);
color: hsl(217 91% 60%);
background-color: color-mix(in srgb, #3b82f6 50%, white);

گرادیان روشنایی (روشن → تیره)

اگر به بررسی کنتراست WCAG نیاز دارید از «بررسی‌کننده کنتراست رنگ» استفاده کنید؛ اگر به فرمت CMYK/HSV/چاپ نیاز دارید از «مبدل رنگ» (پنج سیستم) در دسته زندگی استفاده کنید. این ابزار بیشتر برای خروجی کد توسعه‌دهندگان است.

آیا این ابزار برای شما مفید بود؟

نحوه استفاده

  1. Paste or type content: drop code/text into the Color Code Converter or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

نکات کلیدی

  • Color Code Converter is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: HEX, RGB, HSL and CMYK.
  • Results come with formulas and reference tables so you can verify every number.

اصول و فرمول‌ها

Color Code Converter formula

Color Code Converter uses standard developer formulas to compute accurate results instantly.

سوالات متداول

How do I use the Color Code Converter?
Open the page and fill in the input fields — results update automatically. HEX, RGB, HSL and CMYK.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

ابزارهای مرتبط

مشاهده تمام 55 ابزار این دسته‌بندی →

راهنماهای مرتبط

منبع و به‌روزرسانی‌ها

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

آخرین به‌روزرسانی:

فرمول‌ها و محتوای این صفحه توسط تیم YiJianSuan بازبینی شده است و صرفاً برای مرجع آموزشی است. برای امور عملیاتی، به اطلاعات رسمی مرجع مراجعه کنید.

محتوا توسط تیم تحریریه YiJianSuan نگهداری و به صورت دوره‌ای بازبینی می‌شود — فرآیند به‌روزرسانی و بازبینی درسیاست تحریریه.

استناد به این صفحه: YiJianSuan. مبدل کد رنگ[EB/OL]. https://www.yijiansuan.com/fa/c/dev/dev-color

نتایج ارائه شده توسط این ابزار صرفاً برای مرجع است و هیچ‌گونه توصیه حرفه‌ای محسوب نمی‌شود. برای محاسبات نهایی، به نتایج رسمی مرجع مراجعه کنید.